|
CX Framework
Cross-platform C utility framework
|
#include <jsonparse.h>
Data Fields | |
| StreamBuffer * | sb |
| Stream buffer being parsed. | |
| int | line |
| Current line number (starts at 1) | |
| int | depth |
| Current nesting depth. | |
| JSONParseEvent | ev |
| Current event (valid until next jsonParseNext call) | |
| sa_JSONParseEvent | queued |
| Queue of events to deliver before parsing new ones. | |
| JSONParseContext * | ctx |
| Top of context stack. | |
| bool | success |
| true if parsing completed without error | |
Pull-mode JSON parser state
Holds the state for incremental JSON parsing via jsonParseNext(). Allocate on the stack or heap; initialize with jsonParseInit().
Definition at line 87 of file jsonparse.h.