Adds 2017 to copyrights
[src/app-framework-main.git] / src / utils-json.h
index 9d495f8..5f1151c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright 2015 IoT.bzh
+ Copyright 2015, 2016, 2017 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -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);