|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
JSON null值类 更多...
#include <json_value.hpp>
Public 成员函数 | |
| types | type () const noexcept override |
| 获取类型 | |
| const json_null * | as_null () const noexcept override |
| 转换为null指针 | |
| Public 成员函数 继承自 json_value | |
| virtual | ~json_value ()=default |
| 虚析构函数 | |
| virtual const json_bool * | as_bool () const noexcept |
| 转换为布尔值指针 | |
| virtual const json_number * | as_number () const noexcept |
| 转换为数字指针 | |
| virtual const json_string * | as_string () const noexcept |
| 转换为字符串指针 | |
| virtual const json_object * | as_object () const noexcept |
| 转换为对象指针 | |
| virtual const json_array * | as_array () const noexcept |
| 转换为数组指针 | |
| bool | is_null () const noexcept |
| 判断是否为null类型 | |
| bool | is_bool () const noexcept |
| 判断是否为布尔类型 | |
| bool | is_number () const noexcept |
| 判断是否为数字类型 | |
| bool | is_string () const noexcept |
| 判断是否为字符串类型 | |
| bool | is_object () const noexcept |
| 判断是否为对象类型 | |
| bool | is_array () const noexcept |
| 判断是否为数组类型 | |
| string | to_string () const |
| 转换为紧凑格式字符串 | |
| string | to_indent_string () const |
| 转换为缩进格式字符串 | |
| Public 成员函数 继承自 istringify< json_value > | |
| constexpr string | to_string () const |
| 转换为字符串 | |
额外继承的成员函数 | |
| Public 类型 继承自 json_value | |
| enum | types { Null , Bool , Number , String , Object , Array } |
| JSON值类型枚举 更多... | |
|
inlinenodiscardoverridevirtualnoexcept |
|
inlinenodiscardoverridevirtualnoexcept |