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

- Public Types inherited from xgboost::JsonReader
using Char = std::int8_t
 
- 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 = std::numeric_limits<double>::max_digits10 + 1
 

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: