Infosys在阅读器中打开 / AI 翻译

TF6xxx - Connectivity · 0 次阅读

IsHexBinary

IsHexBinary 1:

This method checks whether the value of a property is in the HexBinary format. If that is the case, the method returns TRUE, otherwise it returns FALSE.

Syntax

METHOD IsHexBinary: BOOL
VAR_INPUT
  v : SJsonValue
END_VAR

IsHexBinary 2: Return value

Name

Type

IsHexBinary

BOOL

IsHexBinary 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

Sample call:

jsonDoc  := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
bRet     := fbJson.IsHexBinary(jsonProp);