JsonGetObject (FUN)

FUNCTION JsonGetObject : ERROR_ID

Get a (child) JSON object from a (parent) JSON object. The child object is not copied, only a reference is retrieved.

InOut:

Scope

Name

Type

Comment

Return

JsonGetObject

ERROR_ID

Input

JsonObj

JSON_OBJ_REF

Reference to the parent JSON object.

KeyName

STRING(Constants.JSON_MAX_KEY_LEN)

Key string identifier of the child object.

JsonObjPtr

POINTER TO JSON_OBJ_REF

Address of the child JSON object reference for assignment.