X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Futils-json.h;h=3c4fee3522e9eb73d8b6540c41120096ed44460b;hb=047a822596f07a7d367db9fc2ab00e0198650ebf;hp=9d495f8b391bf06021035dcc89f49165ce6e4682;hpb=740c64f92c24da30a8636b836a21e91fcba70463;p=src%2Fapp-framework-main.git diff --git a/src/utils-json.h b/src/utils-json.h index 9d495f8..3c4fee3 100644 --- a/src/utils-json.h +++ b/src/utils-json.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright 2015, 2016 IoT.bzh author: José Bollo @@ -56,6 +56,7 @@ extern int j_integer_at(struct json_object *obj, const char *key, int defval); /* * Adds a keyed value (of type) and returns true if done or false in case of error + * when key==NULL object is an array and values are appended */ extern int j_add(struct json_object *obj, const char *key, struct json_object *val); extern int j_add_string(struct json_object *obj, const char *key, const char *val);