|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
A single top-level "key": value member of a JSON object. More...
#include <json.h>
Data Fields | |
| const char * | key |
| Member key text (not NUL-terminated), or NULL at the end of the object. | |
| size_t | key_len |
| Length of the key text in bytes. | |
| struct json_token | value |
| Member value, returned as a raw token span. | |
A single top-level "key": value member of a JSON object.
Returned by json_obj_next_key_value. Both the key and the value are raw spans into the parsed payload; the value is returned verbatim (its type is given by value.type) and is not decoded.
| const char* json_obj_key_value::key |
Member key text (not NUL-terminated), or NULL at the end of the object.
| size_t json_obj_key_value::key_len |
Length of the key text in bytes.
| struct json_token json_obj_key_value::value |
Member value, returned as a raw token span.