Method
JsonObjectget_object_member
since: 0.8
Declaration [src]
JsonObject*
json_object_get_object_member (
JsonObject* object,
const gchar* member_name
)
Description [src]
Convenience function that retrieves the object
stored in member_name
of object
. It is an error to specify a member_name
which does not exist or which holds a non-null
, non-object value.
If member_name
contains null
, then this function will return NULL
.
See also: json_object_get_member()
, json_object_has_member()
.
Available since: 0.8
Parameters
member_name
-
Type:
const gchar*
The name of the member.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: JsonObject
The object inside the object’s member.
The returned data is owned by the instance. |
The return value can be NULL . |