ERROR_ID (ENUM)

TYPE ERROR_ID :

Attributes:
qualified_only
InOut:

Name

Initial

Comment

JSON_ERR_NO_ERR

0

No error.

JSON_ERR_PARSE_ERR

16#3015

Error on parsing given string. Check if JSON string is valid and enough memory is available.

JSON_ERR_STRING_LEN_ERR

16#3017

Error on given string buffer. JSON serialization or string value is longer than string length.

JSON_ERR_KEY_NOT_EXISTING

16#301B

Error on given key. The key does not exist in the JSON object.

JSON_ERR_INDEX_NOT_EXISTING

16#301C

Error on given index. The index does not exist in the JSON array.

JSON_ERR_TYPE_ERR

16#3027

Type mismatch of value at given key in JSON object or at given index in JSON array.

JSON_ERR_MEM_ERR

16#3028

Error on allocating memory on JSON value creation or insertion.

JSON_ERR_INPUT_01_0

16#4010

JsonCreateObject (FUN): Reference parameter JsonObjPtr not initialized.
JsonAdd* (FUN): JsonObj not initialized.
JsonRemoveEntry (FUN): JsonObj not initialized.
JsonSerializeObject (FUN): JsonObj not initialized.
JsonGet* (FUN): JsonObj not initialized.
JsonParseObjectFromString (FUN): Reference parameter JsonObjPtr not initialized.
JsonFreeObject (FUN): JsonObj not initialized.
JsonCreateArray (FUN): Reference parameter JsonArrayPtr not initialized.
JsonArrayAdd* (FUN): JsonArray not initialized.
JsonArrayRemoveEntry (FUN): JsonArray not initialized.
JsonSerializeArray (FUN): JsonArray not initialized.
JsonArrayGet* (FUN): JsonArray not initialized.
JsonParseArrayFromString (FUN): Reference parameter JsonArrayPtr not initialized.
JsonFreeArray (FUN): JsonArray not initialized.

JSON_ERR_INPUT_01_1

16#4011

Function Input 01 error 1, specific error depends on used function:,

JsonAdd* (FUN): JsonObj does not point to valid JSON object.
JsonRemoveEntry (FUN): JsonObj does not point to valid JSON object.
JsonSerializeObject (FUN): JsonObj does not point to valid JSON object.
JsonGet* (FUN): JsonObj does not point to valid JSON object.
JsonFreeObject (FUN): JsonObj does not point to valid JSON object.
JsonArrayAdd* (FUN): JsonArray does not point to valid JSON array.
JsonArrayRemoveEntry (FUN): JsonArray does not point to valid JSON array.
JsonSerializeArray (FUN): JsonArray does not point to valid JSON array.
JsonArrayGet* (FUN): JsonArray does not point to valid JSON array.
JsonFreeArray (FUN): JsonArray does not point to valid JSON array.

JSON_ERR_INPUT_02_0

16#4020

Function Input 02 error 0, specific error depends on used function:,

JsonAdd* (FUN): KeyName not initialized.
JsonRemoveEntry (FUN): KeyName not initialized.
JsonSerializeObject (FUN): StringBuffer not initialized.
JsonGet* (FUN): KeyName not initialized.
JsonParseObjectFromString (FUN): JsonString not initialized.
JsonSerializeArray (FUN): StringBuffer not initialized.
JsonArrayAddReal (FUN): RealValue stored at invalid memory location.
JsonArrayAddString (FUN): StringValue not initialized.
JsonArrayAddObject (FUN): JsonObjValue not initialized.
JsonArrayAddArray (FUN): JsonArrayValue not initialized.
JsonParseArrayFromString (FUN): JsonString not initialized.

JSON_ERR_INPUT_02_1

16#4021

Function Input 02 error 1, specific error depends on used function:,

JsonArrayAddObject (FUN): JsonObjValue does not point to valid JSON object.
JsonArrayAddArray (FUN): JsonArrayValue does not point to valid JSON array.

JSON_ERR_INPUT_03_0

16#4030

Function Input 03 error 0, specific error depends on used function:,

JsonAddReal (FUN): RealValue stored at invalid memory location.
JsonAddString (FUN): StringValue not initialized.
JsonAddObject (FUN): JsonObjValue not initialized.
JsonAddArray (FUN): JsonArrayValue not initialized.
JsonGetBool (FUN): Reference parameter BoolValue not initialized.
JsonGetInt (FUN): Reference parameter IntValue not initialized.
JsonGetReal (FUN): Reference parameter RealValue not initialized.
JsonGetString (FUN): Reference parameter StringValue not initialized.
JsonGetObject (FUN): Reference parameter JsonObjPtr not initialized.
JsonGetArray (FUN): Reference parameter JsonArrayPtr not initialized.
JsonArrayGetBool (FUN): Reference parameter BoolValue not initialized.
JsonArrayGetInt (FUN): Reference parameter IntValue not initialized.
JsonArrayGetReal (FUN): Reference parameter RealValue not initialized.
JsonArrayGetString (FUN): Reference parameter StringValue not initialized.
JsonArrayGetObject (FUN): Reference parameter JsonObjPtr not initialized.
JsonArrayGetArray (FUN): Reference parameter JsonArrayPtr not initialized.

JSON_ERR_INPUT_03_1

16#4031

Function Input 03 error 1, specific error depends on used function:,

JsonAddObject (FUN): JsonObjValue does not point to valid JSON object.
JsonAddArray (FUN): JsonArrayValue does not point to valid JSON array.