kw_decref()

kw_decref()#

Decrease the reference count of a JSON object and free it if the count reaches zero with json_t *.

Prototype

PUBLIC void kw_decref(
    json_t      *kw
);
        

Parameters

Key

Type

Description

kw

json_t *

The JSON object whose reference count will be decreased.


Return Value

No return value. This function modifies the reference count of the JSON object and may free it.

Prototype

// Not applicable in JS

Prototype

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