Returns a new JSON string.

Syntax

json_t* json_string(
    const char* value
);

Parameters

value
[in] string

Return value

New reference.

Remarks

Returns a new JSON string, or NULL on error. value must be a valid null terminated UTF-8 encoded Unicode string.

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