Returns the associated value of real.

Syntax

double json_real_value(
    const json_t* real
);

Parameters

real
[in] JSON real number

Return value

Returns the associated value of real.

Remarks

Returns the associated value of real, or 0.0 if real is not a JSON real.

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