mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 15:39:07 +08:00
json_object: Add size_t json_object_sizeof()
This commit is contained in:
@@ -509,6 +509,11 @@ int json_object_object_length(const struct json_object *jso)
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user