Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost::UBJReader Class Reference

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

#include <json_io.h>

Inheritance diagram for xgboost::UBJReader:
xgboost::JsonReader

Public Member Functions

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

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
size_t static constexpr kMaxNumLength = std::numeric_limits<double>::max_digits10 + 1
 

Detailed Description

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

Member Function Documentation

◆ Load()

Json xgboost::UBJReader::Load ( )
overridevirtual

Reimplemented from xgboost::JsonReader.


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