Release JSON reference count.

Syntax

void json_decref(
    json_t* json
);

Parameters

json
[in] JSON value

Return value

None.

Remarks

Decrement the reference count of json. As soon as a call to json_decref() drops the reference count to zero, the value is destroyed and it can no longer be used.

See the API Reference below for more information.

Requirements

Header file:
lib.h : System E6.0 or later.
jansson.h
jansson_config.h
jansson_log.h
Library file:
libJansson.a
libSTARTUPOPH5000.a : System E6.0 or later.

See also

Last updated: 2022/01/26