|
CX Framework
Cross-platform C utility framework
|
Data Structures | |
| struct | JSONParseContext |
| struct | JSONParseEvent |
Typedefs | |
| typedef enum JSON_PARSE_CONTEXT | JsonContextType |
| JSON parser context types. | |
| typedef enum JSON_PARSE_EVENT | JsonEventType |
| JSON parse event types. | |
| typedef struct JSONParseContext | JSONParseContext |
| typedef struct JSONParseEvent | JSONParseEvent |
Enumerations | |
| enum | JSON_PARSE_CONTEXT { JSON_Top , JSON_Object , JSON_Array } |
| JSON parser context types. More... | |
| enum | JSON_PARSE_EVENT { JSON_Parse_Unknown , JSON_Object_Begin , JSON_Object_Key , JSON_Object_End , JSON_Array_Begin , JSON_Array_End , JSON_String , JSON_Int , JSON_Float , JSON_True , JSON_False , JSON_Null , JSON_Error , JSON_End } |
| JSON parse event types. More... | |
Common types used for JSON parsing and output.
| typedef struct JSONParseContext JSONParseContext |
JSON parser context stack
Tracks the current parsing position in the JSON hierarchy. The parser maintains a stack of these contexts as it descends into nested objects and arrays.
Definition at line 79 of file jsoncommon.h.
| typedef struct JSONParseEvent JSONParseEvent |
JSON parse event
Delivered to callbacks during parsing. Contains the event type, current context, and event-specific data.
| enum JSON_PARSE_CONTEXT |
JSON parser context types.
| Enumerator | |
|---|---|
| JSON_Top | Top-level context (bare value) |
| JSON_Object | Currently parsing an object. |
| JSON_Array | Currently parsing an array. |
Definition at line 38 of file jsoncommon.h.
| enum JSON_PARSE_EVENT |
JSON parse event types.
Definition at line 48 of file jsoncommon.h.