JsonGetArray (FUN)

FUNCTION JsonGetArray : ERROR_ID

Get a JSON array from a JSON object. The array ist not copied, only a reference is retrieved.

InOut:

Scope

Name

Type

Comment

Return

JsonGetArray

ERROR_ID

Input

JsonObj

JSON_OBJ_REF

Reference to the JSON object.

KeyName

STRING(Constants.JSON_MAX_KEY_LEN)

Key string identifier of the array.

JsonArrayPtr

POINTER TO JSON_ARR_REF

Address of the JSON array reference for assignment.