next


Description:

public bool next (out unowned string member_name, out unowned Node member_node)

Advances the iterator and retrieves the next member in the object.

If the end of the object is reached, `FALSE` is returned and member_name and member_node are set to invalid values. After that point, the this is invalid.

The order in which members are returned by the iterator is undefined. The iterator is invalidated if the object is modified during iteration.

You must use this function with an iterator initialized with [[email protected]]; using this function with an iterator initialized with [[email protected]_ordered] yields undefined behavior.

See also: [[email protected]_ordered]

Parameters:

this

a JSON object iterator

member_name

return location for the member name, or null to ignore

member_node

return location for the member value, or null to ignore

Returns:

`TRUE` if member_name and member_node are valid; `FALSE` if there are no more members




2022 vala-language.org