xgboost
Public Member Functions | List of all members
xgboost::UBJReader Class Reference

Reader for UBJSON https://ubjson.org/. More...

#include <json_io.h>

Inheritance diagram for xgboost::UBJReader:
Inheritance graph
Collaboration diagram for xgboost::UBJReader:
Collaboration graph

Public Member Functions

Json Load () override
 
 JsonReader (StringView str)
 
- Public Member Functions inherited from xgboost::JsonReader
 JsonReader (StringView str)
 
virtual ~JsonReader ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from xgboost::JsonReader
void SkipSpaces ()
 
char GetNextChar ()
 
char PeekNextChar ()
 
char GetNextNonSpaceChar ()
 
char GetConsecutiveChar (char expected_char)
 
void Error (std::string msg) const
 
void Expect (char c, char got)
 
virtual Json ParseString ()
 
virtual Json ParseNumber ()
 
virtual Json ParseBoolean ()
 
virtual Json ParseNull ()
 
Json Parse ()
 
- Protected Attributes inherited from xgboost::JsonReader
struct xgboost::JsonReader::SourceLocation cursor_
 
StringView raw_str_
 
- Static Protected Attributes inherited from xgboost::JsonReader
constexpr static size_t kMaxNumLength
 

Detailed Description

Reader for UBJSON https://ubjson.org/.

Member Function Documentation

◆ JsonReader()

xgboost::JsonReader::JsonReader
inlineexplicit

◆ Load()

Json xgboost::UBJReader::Load ( )
overridevirtual

Reimplemented from xgboost::JsonReader.


The documentation for this class was generated from the following file: