get_object_member


Description:

[ Version ( since = "0.8" ) ]
public unowned Object? get_object_member (string member_name)

Convenience function that retrieves the object stored in member_name of this.

It is an error to specify a member_name which does not exist.

If member_name contains `null`, then this function will return `NULL`.

See also: [method@Json.Object.get_member], [method@Json.Object.has_member]

Parameters:

this

a JSON object

member_name

the name of the member

Returns:

the object inside the object's member