Returns the type of the JSON value.

Syntax

int json_typeof(
    const json_t* json
);

Parameters

json
[in] JSON value

Return value

Returns the type of the JSON value.

Remarks

Returns the type of the JSON value. json MUST NOT be NULL.

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