JsonAddInt (FUN)

FUNCTION JsonAddInt : ERROR_ID

Add a integer value to a JSON object.

InOut:

Scope

Name

Type

Comment

Return

JsonAddInt

ERROR_ID

Input

JsonObj

JSON_OBJ_REF

Reference to the JSON object.

KeyName

STRING(Constants.JSON_MAX_KEY_LEN)

Key string identifier for the value.

IntegerValue

DINT

Integer value.