|
CX Framework
Cross-platform C utility framework
|
#include <jsoncommon.h>
Data Fields | ||
| JSONParseContext * | parent | |
| Parent context in the stack. | ||
| JsonContextType | ctype | |
| Type of current context. | ||
| union { | ||
| string curKey | ||
| Current key being parsed (for objects) | ||
| int32 curIdx | ||
| Current array index (for arrays) | ||
| } | cdata | |
| Context-specific data. | ||
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 86 of file jsoncommon.h.