commit | cca74c6de6e0d7ea397f50c8f16bbdbff2aeae78 | [log] [tgz] |
---|---|---|
author | Greg Hazel <ghazel@gmail.com> | Fri Jan 11 01:36:55 2013 -0800 |
committer | Greg Hazel <ghazel@gmail.com> | Fri Jan 11 01:36:55 2013 -0800 |
tree | 1302bee7769194d0a0f182deceef0288ad79df09 | |
parent | 3ae296f6946100e533a4358629aa34e74501a039 [diff] [blame] |
add json_object_object_length
diff --git a/json_object.h b/json_object.h index 0ff6584..336ce96 100644 --- a/json_object.h +++ b/json_object.h
@@ -215,6 +215,8 @@ */ 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