ObjectIter.init_

Initialises the iter and associate it with object.

JsonObjectIter iter;
const gchar *member_name;
JsonNode *member_node;

json_object_iter_init (&iter, some_object);
while (json_object_iter_next (&iter, &member_name, &member_node))
  {
    // Do something with member_name and member_node.
  }

The iterator initialized with this function will iterate the members of the object in an undefined order.

See also: json.object_iter.ObjectIter.initOrdered

class ObjectIter
void
init_

Parameters

object json.object.ObjectJson

the JSON object to iterate over