JsonGetString (FUN)

FUNCTION JsonGetString : ERROR_ID

Get a string value from a JSON object. The internal string gets copied to the given buffer.

InOut:

Scope

Name

Type

Comment

Return

JsonGetString

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.

StringValue

POINTER TO STRING

String buffer for the retrieved value.

StringLength

DWORD

Length of the provided string buffer.