json.object_iter

Module for [ObjectIter] class

Types 1

An iterator object used to iterate over the members of a JSON object.

[json.object_iter.ObjectIter] must be allocated on the stack and initialised using [json.object_iter.ObjectIter.init_] or [json.object_iter.ObjectIter.initOrdered].

The iterator is invalidated if the object is modified during iteration.

All the fields in the [json.object_iter.ObjectIter] structure are private and should never be accessed directly.

Fields
JsonObjectIter _cInstance
Methods
void * _cPtr()
void init_(json.object.ObjectWrap object)Initialises the iter and associate it with object.
void initOrdered(json.object.ObjectWrap object)Initialises the iter and associate it with object.
bool next(out string memberName, out json.node.Node memberNode)Advances the iterator and retrieves the next member in the object.
bool nextOrdered(out string memberName, out json.node.Node memberNode)Advances the iterator and retrieves the next member in the object.
Constructors
this(void * ptr, Flag!"Take" take)