Hallo,

how to get elements of an json array without keys using frozen.h ( I know 
it is part of mongoose nowadays.)

const char *json = "[1,2,3,4,5,6,7]"; //valid Json

struct json_token *arr, *tok;
arr = parse_json2(json, strlen(json));
tok = find_json_token(arr, "??????");



// same for char *
// const char *json1 = "[{test:1},{test:2}]"; //valid Json



Regards

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mongoose-users+unsubscr...@googlegroups.com.
To post to this group, send email to mongoose-users@googlegroups.com.
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to