Return to test_json.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libelwix / example |
version 1.1.2.2, 2017/11/28 02:00:45 | version 1.1.2.3, 2017/11/28 02:05:21 |
---|---|
Line 10 int | Line 10 int |
run_simple(json_t *json) | run_simple(json_t *json) |
{ | { |
static const char *teststr = "{\"user\": \"johndoe\", \"admin\": false, \"uid\": 1000,\n " | static const char *teststr = "{\"user\": \"johndoe\", \"admin\": false, \"uid\": 1000,\n " |
"\"groups\": [\"users\", \"wheel\", \"audio\", \"video\"]}"; | "\"groups\": [\"users\", \"\", \"wheel\", \"audio\", \"video\"]}"; |
int i, ret; | int i, ret; |
jtok_t *tok, toks[20]; | jtok_t *tok, toks[20]; |
ait_val_t *v; | ait_val_t *v; |