get_array_member


Description:

[ Version ( since = "0.8" ) ]
public unowned Array? get_array_member (string member_name)

Convenience function that retrieves the array 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 array inside the object's member