ArrayForeach


Description:

[ CCode ( instance_pos = 3.9 ) ]
[ Version ( since = "0.8" ) ]
public delegate void ArrayForeach (Array array, uint index_, Node element_node)

The function to be passed to [method@Json.

Array.foreach_element].

You should not add or remove elements to and from array within this function.

It is safe to change the value of element_node.

Parameters:

array

the iterated JSON array

index_

the index of the element

element_node

the value of the element at the given index_

user_data

data passed to the function


Namespace: Json
Package: json-glib-1.0