Function
JsonArrayForeach
since: 0.8
Declaration
void
(* JsonArrayForeach) (
JsonArray* array,
guint index_,
JsonNode* element_node,
gpointer user_data
)
Description [src]
The function to be passed to 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.
Available since: 0.8
Parameters
array-
Type:
JsonArrayThe iterated JSON array.
The data is owned by the caller of the function. index_-
Type:
guintThe index of the element.
element_node-
Type:
JsonNodeThe value of the element at the given
index_The data is owned by the caller of the function. user_data-
Type:
gpointerData passed to the function.
The argument can be NULL.The data is owned by the caller of the function.