Structure to hold state while parsing JSON. More...
#include <jsmn_parser.h>
Public Attributes | |
void * | data |
The object currently under construction. More... | |
int | parent_type |
The type of object that is being create. More... | |
struct json_state * | next |
jsmntok_t * | tok |
When saving state, provides a linked-list. More... | |
Structure to hold state while parsing JSON.
Definition at line 49 of file jsmn_parser.h.
void* json_state::data |
The object currently under construction.
Definition at line 50 of file jsmn_parser.h.
struct json_state* json_state::next |
Definition at line 52 of file jsmn_parser.h.
int json_state::parent_type |
The type of object that is being create.
Definition at line 51 of file jsmn_parser.h.
jsmntok_t* json_state::tok |
When saving state, provides a linked-list.
The json token currently being read
Definition at line 53 of file jsmn_parser.h.