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: [[email protected]_member], [[email protected]_member]

Parameters:

this

a JSON object

member_name

the name of the member

Returns:

the array inside the object's member




2022 vala-language.org