JsonAddObject (FUN)

FUNCTION JsonAddObject : ERROR_ID

Insert a (child) JSON object into a (parent) JSON object.

InOut:

Scope

Name

Type

Comment

Return

JsonAddObject

ERROR_ID

Input

JsonObj

JSON_OBJ_REF

Reference to the parent JSON object.

KeyName

STRING(Constants.JSON_MAX_KEY_LEN)

Key string identifier for the object.

JsonObjValue

JSON_OBJ_REF

Reference to the child JSON object.