add json_object_object_length

This commit is contained in:
Greg Hazel
2013-01-11 01:36:55 -08:00
parent 3ae296f694
commit cca74c6de6
4 changed files with 12 additions and 0 deletions

View File

@@ -215,6 +215,8 @@ extern struct json_object* json_object_new_object(void);
*/
extern struct lh_table* json_object_get_object(struct json_object *obj);
extern int json_object_object_length(struct json_object* obj);
/** Add an object field to a json_object of type json_type_object
*
* The reference count will *not* be incremented. This is to make adding