json_node_type_t
QNX SDP8.0JSON Library ReferenceAPIDeveloper
JSON decoder node types
Synopsis:
#include <sys/json.h>
typedef enum {
JSON_TYPE_NULL,
JSON_TYPE_BOOL,
JSON_TYPE_NUMBER,
JSON_TYPE_STRING,
JSON_TYPE_ARRAY,
JSON_TYPE_OBJECT,
JSON_TYPE_NONE
} json_node_type_t;
Data:
- JSON_TYPE_NULL
- JSON_TYPE_BOOL
- JSON_TYPE_NUMBER
- JSON_TYPE_STRING
- JSON_TYPE_ARRAY
- JSON_TYPE_OBJECT
- JSON_TYPE_NONE
Library:
libjsonDescription:
The JSON decoder node types indicate the type of properties in a JSON object or the type of elements in a JSON array. For this API, the term node refers to either an object property or an array element. Enumeration of object properties and array elements is largely the same, aside from the fact that nodes representing array elements do not have an associated name.
Refer to json_decoder_next(), json_decoder_name(), json_decoder_type() and the json_decoder_get_*() functions for more details on node access from the JSON decoder tree.
Page updated: