xgboost
|
一个 JSON 读取器,目前错误检查和 UTF-8 不完全支持。更多...
#include <json_io.h>
类 | |
struct | SourceLocation |
公共类型 | |
using | Char = std::int8_t |
公共成员函数 | |
JsonReader (StringView str) | |
virtual | ~JsonReader ()=default |
virtual Json | Load () |
受保护成员函数 | |
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 | ParseObject () |
virtual Json | ParseArray () |
virtual Json | ParseNumber () |
virtual Json | ParseBoolean () |
virtual Json | ParseNull () |
Json | Parse () |
受保护属性 | |
struct xgboost::JsonReader::SourceLocation | cursor_ |
StringView | raw_str_ |
静态受保护属性 | |
constexpr static size_t | kMaxNumLength = std::numeric_limits<double>::max_digits10 + 1 |
一个 JSON 读取器,目前错误检查和 UTF-8 不完全支持。
using xgboost::JsonReader::Char = std::int8_t |
|
inlineexplicit |
|
virtualdefault |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
virtual |
在 xgboost::UBJReader 中重新实现。
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
inlineprotected |
|
protected |
|
protected |
|
staticconstexprprotected |
|
protected |