Enumerated types of the JSON library.
More...
|
enum | JSONStatus_t {
JSONPartial = 0,
JSONSuccess,
JSONIllegalDocument,
JSONMaxDepthExceeded,
JSONNotFound,
JSONNullParameter,
JSONBadParameter
} |
| Return codes from coreJSON library functions. More...
|
|
enum | JSONTypes_t {
JSONInvalid = 0,
JSONString,
JSONNumber,
JSONTrue,
JSONFalse,
JSONNull,
JSONObject,
JSONArray
} |
| Value types from the JSON standard. More...
|
|
Enumerated types of the JSON library.
◆ JSONStatus_t
Return codes from coreJSON library functions.
Enumerator |
---|
JSONPartial | JSON document is valid so far but incomplete.
|
JSONSuccess | JSON document is valid and complete.
|
JSONIllegalDocument | JSON document is invalid or malformed.
|
JSONMaxDepthExceeded | JSON document has nesting that exceeds JSON_MAX_DEPTH.
|
JSONNotFound | Query key could not be found in the JSON document.
|
JSONNullParameter | Pointer parameter passed to a function is NULL.
|
JSONBadParameter | Query key is empty, or any subpart is empty, or max is 0.
|
◆ JSONTypes_t
Value types from the JSON standard.
Enumerator |
---|
JSONInvalid | Not a valid JSON type.
|
JSONString | A quote delimited sequence of Unicode characters.
|
JSONNumber | A rational number.
|
JSONTrue | The literal value true.
|
JSONFalse | The literal value false.
|
JSONNull | The literal value null.
|
JSONObject | A collection of zero or more key-value pairs.
|
JSONArray | A collection of zero or more values.
|