gobj_free_iter()

gobj_free_iter()#

Decrements the reference count of each gobj in the given JSON array and frees the array.

Prototype

void gobj_free_iter(
    json_t *iter
);

Parameters

Key

Type

Description

iter

json_t *

A JSON array containing references to gobj instances.


Return Value

None.

Notes

Each gobj in the array has its reference count decremented before the array itself is freed.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples