Syntax
typedef struct json_t
{
json_type type;
volatile size_t refcount;
} json_t;
Members
- type
-
Set the type of JSON value to keep.
Type Explanation JSON_OBJECT JSON object JSON_ARRAY JSON array JSON_STRING JSON string JSON_INTEGER JSON integer JSON_REAL JSON real JSON_TRUE JSON boolean value true JSON_FALSE JSON boolean value false JSON_NULL JSON null - refcount
- The reference count of the value is set.
Remarks
Used throughout the library to represent all JSON values. It always contains the type of the JSON value it holds and the value’s reference count.
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.
Reference
See below for details.
Last updated: 2022/01/26