ObjectIter
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ Version ( since = "1.2" ) ]
public struct ObjectIter
An iterator object used to iterate over the members of a JSON object.
`JsonObjectIter` must be allocated on the stack and initialised using [[email protected]] or [
[email protected]_ordered].
The iterator is invalidated if the object is modified during iteration.
All the fields in the `JsonObjectIter` structure are private and should never be accessed directly.
Content:
Methods:
- public void init (Object object)
Initialises the this and associate
it with object
.
- public void init_ordered (Object object)
Initialises the this and associate
it with object
.
- public bool next (out unowned string member_name, out unowned Node member_node)
Advances the iterator and retrieves the next member in the object.
- public bool next_ordered (out unowned string member_name, out unowned Node member_node)
Advances the iterator and retrieves the next member in the object.