JsonGetInt (FUN)

FUNCTION JsonGetInt : ERROR_ID

Get a integer value from a JSON object.

InOut:

Scope

Name

Type

Comment

Return

JsonGetInt

ERROR_ID

Input

JsonObj

JSON_OBJ_REF

Reference to the JSON object.

KeyName

STRING(Constants.JSON_MAX_KEY_LEN)

Key string identifier of the value.

IntegerValue

POINTER TO DINT

Reference to integer for the retrieved value.