Searched refs:curr_token (Results 1 – 1 of 1) sorted by relevance
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse() local236 if (!curr_token) { in json_parse()242 } else if (curr_token->state == JSON_WAITING_VALUE) { in json_parse()243 token = curr_token; in json_parse()244 } else if (curr_token->parent && in json_parse()245 curr_token->parent->type == JSON_ARRAY && in json_parse()246 curr_token->parent->state == JSON_STARTED && in json_parse()247 curr_token->state == JSON_EMPTY) { in json_parse()248 token = curr_token; in json_parse()265 curr_token = token->child; in json_parse()[all …]