Searched refs:jsoneq (Results 1 – 1 of 1) sorted by relevance
/external/jsmn/example/ |
D | simple.c | 15 static int jsoneq(const char *json, jsmntok_t *tok, const char *s) { in jsoneq() function 45 if (jsoneq(JSON_STRING, &t[i], "user") == 0) { in main() 50 } else if (jsoneq(JSON_STRING, &t[i], "admin") == 0) { in main() 55 } else if (jsoneq(JSON_STRING, &t[i], "uid") == 0) { in main() 60 } else if (jsoneq(JSON_STRING, &t[i], "groups") == 0) { in main()
|