CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
JSONParseContext Struct Reference

#include <jsoncommon.h>

Data Fields

JSONParseContextparent
 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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: