Syntax
json_t* json_loads(
const char* input,
size_t flags,
json_error_t* error
);
Parameters
- input
- [in] JSON value
- flags
- [in] Encoding flags
- error
- [out] Encoding flags
Return value
New reference.
Remarks
Decodes the JSON string input and returns the array or object it contains, or NULL on error, in which case error is filled with information about the error. flags is described other page.
Please refer to the following API Reference 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