Browse Source

Add a comment briefly describing json_object_object_length()

tags/json-c-0.11-20130402
Eric Haszlakiewicz 12 years ago
parent
commit
92d289f5d3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      json_object.h

+ 3
- 0
json_object.h View File

@@ -215,6 +215,9 @@ extern struct json_object* json_object_new_object(void);
*/
extern struct lh_table* json_object_get_object(struct json_object *obj);

/** Get the size of an object in terms of the number of fields it has.
* @param obj the json_object whose length to return
*/
extern int json_object_object_length(struct json_object* obj);

/** Add an object field to a json_object of type json_type_object


Loading…
Cancel
Save