Included in: | src/yajl.c |
src/yajl_parser.c | |
src/yajl_tree.c |
enum | |
{ | |
yajl_state_start; | |
yajl_state_parse_complete; | |
yajl_state_parse_error; | |
yajl_state_lexical_error; | |
yajl_state_map_start; | |
yajl_state_map_sep; | |
yajl_state_map_need_val; | |
yajl_state_map_got_val; | |
yajl_state_map_need_key; | |
yajl_state_array_start; | |
yajl_state_array_got_val; | |
yajl_state_array_need_val; | |
yajl_state_got_value; | |
} |
struct yajl_handle_t | |
{ | |
const yajl_callbacks* callbacks; | |
void* ctx; | |
yajl_lexer lexer; | |
const char* parseError; | |
size_t bytesConsumed; | |
yajl_buf decodeBuf; | |
yajl_bytestack stateStack; | |
yajl_alloc_funcs alloc; | |
unsigned int flags; | |
} |