My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Attributes | List of all members
json_state Struct Reference

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_statenext
 
jsmntok_ttok
 When saving state, provides a linked-list. More...
 

Detailed Description

Structure to hold state while parsing JSON.

Definition at line 49 of file jsmn_parser.h.

Member Data Documentation

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.


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