Method

JsonArrayforeach_element

Declaration [src]

void
json_array_foreach_element (
  JsonArray* array,
  JsonArrayForeach func,
  gpointer data
)

Description [src]

Iterates over all elements of an array, and calls a function on each one of them.

It is safe to change the value of an element of the array while iterating over it, but it is not safe to add or remove elements from the array.

Available since:0.8

Parameters

func JsonArrayForeach
 

The function to be called on each element.

data gpointer
 

Data to be passed to the function.