init


Description:

public void init (Object object)

Initialise the this 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.
}

Parameters:

this

an uninitialised ObjectIter

object

the Object to iterate over