get_string_member


Description:

[ Version ( since = "0.8" ) ]
public unowned string get_string_member (string member_name)

Convenience function that retrieves the string value stored in member_name of this.

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

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

Parameters:

this

a JSON object

member_name

the name of the member

Returns:

the string value of the object's member