json_encoder_error_t
QNX SDP8.0JSON Library ReferenceAPIDeveloper
JSON encoder error codes
Synopsis:
#include <sys/json.h>
typedef enum {
JSON_ENCODER_OK = 0,
JSON_ENCODER_NO_MEMORY = 1,
JSON_ENCODER_BAD_NESTING = 2,
JSON_ENCODER_INVALID_VALUE = 3,
JSON_ENCODER_MISSING_PROPERTY_NAME = 4,
JSON_ENCODER_NOT_FOUND = 5,
JSON_ENCODER_NOT_SUPPORTED = 6,
JSON_ENCODER_TOO_MANY_VALUES = 7,
JSON_ENCODER_UNEXPECTED_NAME = 8,
JSON_ENCODER_MAX_LEVEL_REACHED = 9,
JSON_ENCODER_INVALID_STATE = 10,
JSON_ENCODER_EXTERNAL_ERROR = 11
} json_encoder_error_t;
Data:
- JSON_ENCODER_OK
- JSON_ENCODER_NO_MEMORY
- JSON_ENCODER_BAD_NESTING
- JSON_ENCODER_INVALID_VALUE
- JSON_ENCODER_MISSING_PROPERTY_NAME
- JSON_ENCODER_NOT_FOUND
- JSON_ENCODER_NOT_SUPPORTED
- JSON_ENCODER_TOO_MANY_VALUES
- JSON_ENCODER_UNEXPECTED_NAME
- JSON_ENCODER_MAX_LEVEL_REACHED
- JSON_ENCODER_INVALID_STATE
- JSON_ENCODER_EXTERNAL_ERROR
Library:
libjsonDescription:
These error codes are returned with most json_encoder_*() function calls during encoding operations, and are also available through json_encoder_get_status().
Page updated: