|
ucx
UAP Common Extensions
|
The JSON parser interface. More...
#include <json.h>
Data Fields | ||
| const CxAllocator * | allocator | |
| The allocator used for produced JSON values. | ||
| CxBuffer | buffer | |
| The input buffer. | ||
| CxJsonValue * | parsed | |
| A pointer to an intermediate state of the currently parsed value. | ||
| cxmutstr | uncompleted_member_name | |
| The name of a not yet completely parsed object member. | ||
| cxmutstr | uncompleted_content | |
| Internal buffer for uncompleted tokens. | ||
| CxJsonTokenType | uncompleted_tokentype | |
| The expected type of the currently parsed, uncompleted token. | ||
| struct { | ||
| int * data | ||
| size_t size | ||
| size_t capacity | ||
| } | states | |
| State stack. | ||
| struct { | ||
| CxJsonValue ** data | ||
| size_t size | ||
| size_t capacity | ||
| } | vbuf | |
| Value buffer stack. | ||
| int | states_internal [8] | |
| Internally reserved memory for the state stack. | ||
| CxJsonValue * | vbuf_internal [8] | |
| Internally reserved memory for the value buffer stack. | ||
The JSON parser interface.
| CxJsonValue* cx_json_s::parsed |
A pointer to an intermediate state of the currently parsed value.
Never access this value manually.
| cxmutstr cx_json_s::uncompleted_member_name |
The name of a not yet completely parsed object member.
Never access this value manually.