![]() |
ucx
UAP Common Extensions
|
Structure for a JSON value. More...
#include <json.h>
Data Fields | ||
| const CxAllocator * | allocator | |
| The allocator with which the value was allocated. | ||
| CxJsonValueType | type | |
| The type of this value. | ||
| union { | ||
| CxJsonArray array | ||
| The array data if the type is CX_JSON_ARRAY. | ||
| CxJsonObject object | ||
| The object data if the type is CX_JSON_OBJECT. | ||
| CxJsonString string | ||
| The string data if the type is CX_JSON_STRING. | ||
| CxJsonInteger integer | ||
| The integer if the type is CX_JSON_INTEGER. | ||
| CxJsonNumber number | ||
| The number if the type is CX_JSON_NUMBER. | ||
| CxJsonLiteral literal | ||
| The literal type if the type is CX_JSON_LITERAL. | ||
| } | value | |
| The value data. | ||
Structure for a JSON value.
| const CxAllocator* cx_json_value_s::allocator |
The allocator with which the value was allocated.
Required for recursively deallocating memory of objects and arrays.
| CxJsonValueType cx_json_value_s::type |
The type of this value.
Specifies how the value union shall be resolved.