Properties of FB_CreateJsonFormattedString

Overview

Name

Data type

Access

Description

IsArrayOpen

BOOLEAN

Read

If TRUE, the JSON-formatted STRING that is being processed contains an open ARRAY.

IsJsonStringValid

BOOLEAN

Read

Indicates if the JSON-formatted STRING that is being processed is valid.

Indicates TRUE if the STRING meets the following conditions:

  • The STRING is not empty.

  • The STRING does not contain an open object.

  • The STRING does not contain an open ARRAY.

IsObjectOpen

BOOLEAN

Read

If TRUE, the JSON-formatted STRING that is being processed contains an open object.

LengthOfJsonString

UDINT

Read

Provides the present length (number of characters) of the JSON-formatted STRING that is being processed.

PointerToJsonString

POINTER TO BYTE

Read

Provides a pointer to the JSON-formatted STRING that is being processed.

Result

ET_Result

Read

Indicates the result of the recently called method.