init_ordered


Description:

[ Version ( since = "1.6" ) ]
public void init_ordered (Object object)

Initialises the this and associate it with object.

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

json_object_iter_init_ordered (&iter, some_object); while (json_object_iter_next_ordered (&iter, &member_name, &member_node)) { // Do something with member_name and member_node. } ```

See also: [method@Json.ObjectIter.init]

Parameters:

this

an uninitialised iterator

object

the JSON object to iterate over