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

#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.
 
JSONParseContextctx
 Top of context stack.
 
bool success
 true if parsing completed without error
 

Detailed Description

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.


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