X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Futils-json.h;h=9d495f8b391bf06021035dcc89f49165ce6e4682;hb=740c64f92c24da30a8636b836a21e91fcba70463;hp=4b86fa9f264de9aeb91245c75bd19051427cf8bf;hpb=fa9948dbf66d6767a987485c24afdd15f1bab0ba;p=src%2Fapp-framework-main.git diff --git a/src/utils-json.h b/src/utils-json.h index 4b86fa9..9d495f8 100644 --- a/src/utils-json.h +++ b/src/utils-json.h @@ -61,4 +61,6 @@ extern int j_add(struct json_object *obj, const char *key, struct json_object *v extern int j_add_string(struct json_object *obj, const char *key, const char *val); extern int j_add_boolean(struct json_object *obj, const char *key, int val); extern int j_add_integer(struct json_object *obj, const char *key, int val); +extern struct json_object *j_add_new_array(struct json_object *obj, const char *key); +extern struct json_object *j_add_new_object(struct json_object *obj, const char *key);