AddHexBinaryMember
This method adds a HexBinary member to a JSON object.
Syntax
METHOD AddHexBinaryMember : SJsonValue
VAR_INPUT
v : SJsonValue;
p : PVOID;
n : DINT;
END_VAR
VAR_IN_OUT CONSTANT
member : STRING;
END_VAR
Return value
Name | Type |
---|---|
AddHexBinaryMember | SjsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | SjsonValue (note possible invalidity) |
p | PVOID |
n | DINT |
/ Inputs/outputs
Name | Type |
---|---|
member | STRING |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonMem := fbJson.AddHexBinaryMember(jsonDoc, ‚TestHexBinary‘, sHexBinary, SIZEOF(sHexBinary));