FB_JsonSaxReader

FB_JsonSaxReader 1:

Syntax

FUNCTION_BLOCK FB_JsonSaxReader
VAR_OUTPUT
  initStatus     : HRESULT;
END_VAR

FB_JsonSaxReader 2: Outputs

Name

Type

initStatus

HRESULT

FB_JsonSaxReader 3: Methods

Name

Description

DecodeBase64

Converts a Base64-formated string to binary data.

DecodeDateTime

Creates a PLC variable of the data type DATE_AND_TIME or DT from a standardized ISO8601 time format (e.g. YYYY-MM-DDThh:mm:ss).

DecodeDcTime

Creates a PLC variable of the data type DCTIME from a standardized ISO8601 time format (e.g. YYYY-MM-DDThh:mm:ss).

DecodeFileTime

Creates a PLC variable of the data type FILETIME from a standardized ISO8601 time format (e.g. YYYY-MM-DDThh:mm:ss).

DecodeHexBinary

Converts a string containing hexadecimal values into binary data.

IsBase64

Checks whether the transferred string corresponds to the Base64 format.

IsHexBinary

Checks whether the transferred string consists of hexadecimal values.

IsISO8601TimeFormat

Checks whether the transferred string corresponds to the standardized ISO8601 time format.

Parse

Starts the SAX reader parsing process.

ParseValues

Starts the SAX reader parsing process.

Requirements

TwinCAT version

Hardware

Libraries to be integrated

TwinCAT 3.1, Build 4022

x86, x64, ARM

Tc3_JsonXml