类 | |
class | JsonException |
Json专用异常基类类 更多... | |
class | JsonStructureException |
Json结构错误异常类 更多... | |
class | JsonTypeException |
Json类型错误异常类 更多... | |
class | JsonValue |
Json数据通用类 更多... | |
类型定义 | |
using | JsonObject = std::map< std::string, JsonValue > |
JsonObject类型 | |
using | JsonArray = std::vector< JsonValue > |
JsonArray类型 | |
函数 | |
static void | json_escape_unicode (std::string &res, std::string_view str, std::string_view::const_iterator &it) |
内部函数,转义\u字符 | |
static std::string | json_escape_next (std::string_view str, std::string_view::const_iterator &it) |
内部函数,转义字符串且移动指针 | |
static std::string | json_reverse_escape (std::string_view str) noexcept |
内部函数,反转义字符串 | |
static std::string | json_escape (std::string_view str) |
内部函数,转义字符串 | |
JsonValue | deserialize (std::string_view str) |
反序列化函数 | |
using Jsonlib::JsonArray = typedef std::vector<JsonValue> |
using Jsonlib::JsonObject = typedef std::map<std::string,JsonValue> |
JSONLIB_EXPORT JsonValue Jsonlib::deserialize | ( | std::string_view | str | ) |
|
static |
内部函数,转义字符串
在文件 jsonlib.cpp 第 196 行定义.
|
static |
内部函数,转义字符串且移动指针
在文件 jsonlib.cpp 第 89 行定义.
|
static |
内部函数,转义\u字符
在文件 jsonlib.cpp 第 16 行定义.
|
staticnoexcept |
内部函数,反转义字符串
在文件 jsonlib.cpp 第 157 行定义.