return lh_table_length(jso->o.c_object);
}
+size_t json_object_sizeof(void)
+{
+ return sizeof(struct json_object);
+}
+
struct json_object* json_object_object_get(const struct json_object* jso,
const char *key)
{
*/
JSON_EXPORT int json_object_object_length(const struct json_object* obj);
+/** Get the sizeof (struct json_object).
+ * @returns a size_t with the sizeof (struct json_object)
+ */
+JSON_EXPORT size_t json_object_sizeof(void);
+
/** 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