fs
2015-10-22 12:02:01 UTC
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
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+***@googlegroups.com.
To post to this group, send email to mongoose-***@googlegroups.com.
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To post to this group, send email to mongoose-***@googlegroups.com.
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.