Structure to map a key + state to a function. More...
#include <jsmn_parser.h>
Public Attributes | |
char * | key |
The string in the JSON file. More... | |
int | parent_type |
The current type, as set by a previous parsing fn. More... | |
jsmn_parsing_fn | parse |
The function to be called when this string is seen at the appropriate place in the input JSON. More... | |
Structure to map a key + state to a function.
Definition at line 178 of file jsmn_parser.h.
char* key_mapping::key |
The string in the JSON file.
Definition at line 179 of file jsmn_parser.h.
int key_mapping::parent_type |
The current type, as set by a previous parsing fn.
Starts at 0
Definition at line 180 of file jsmn_parser.h.
jsmn_parsing_fn key_mapping::parse |
The function to be called when this string is seen at the appropriate place in the input JSON.
Definition at line 182 of file jsmn_parser.h.