Returns the associated value of integer.

Syntax

json_t json_integer_value(
    const json_t* integer
);

Parameters

integer
[in] JSON integer

Return value

Returns the associated value of integer.

Remarks

Returns the associated value of integer, or 0 if json is not a JSON integer.

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