PushbackHexBinaryValue
![PushbackHexBinaryValue 1:](Images/jpg/13465133067__Web.jpg)
This method appends a HexBinary value to the end of an array. The coding in the HexBinary format is executed by the method. A data structure, for example, can be used as the source.
Syntax
METHOD PushbackHexBinaryValue : SJsonValue
VAR_INPUT
v : SJsonValue;
p : PVOID;
n : DINT;
END_VAR
Return value
Name | Type |
---|---|
PushbackHexBinaryValue | SJsonValue |
Inputs
Name | Type |
---|---|
v | sJsonValue |
p | PVOID |
n | DINT |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackHexBinaryValue(jsonArray, ADR(stStruct), SIZEOF(stStruct));