JSON data structure.
#include <json.h>
Data Fields | |
char * | end_ptr |
End pointer of JSON buffer. More... | |
char | name [JSON_MAX_NAME_SIZE] |
Name of this data. More... | |
enum json_type | type |
Type of this data. More... | |
union { | |
int b | |
double d | |
int i | |
char * o | |
char s [JSON_MAX_TOKEN_SIZE-JSON_MAX_NAME_SIZE] | |
} | value |
Value of this JSON token. More... | |
int json_obj::b |
Referenced by _json_parse().
double json_obj::d |
Referenced by _json_parse().
char* json_obj::end_ptr |
End pointer of JSON buffer.
Referenced by json_create(), json_find(), json_get_child(), and json_get_child_count().
int json_obj::i |
Referenced by _json_parse().
char json_obj::name[JSON_MAX_NAME_SIZE] |
Name of this data.
Referenced by _json_parse(), json_create(), and json_find().
char* json_obj::o |
Referenced by _json_parse(), json_create(), json_find(), json_get_child(), and json_get_child_count().
char json_obj::s[JSON_MAX_TOKEN_SIZE-JSON_MAX_NAME_SIZE] |
Referenced by _json_parse().
enum json_type json_obj::type |
Type of this data.
Referenced by _json_parse(), json_create(), json_find(), json_get_child(), and json_get_child_count().
union { ... } json_obj::value |
Value of this JSON token.
Referenced by _json_parse(), json_create(), json_find(), json_get_child(), and json_get_child_count().