PushbackBase64Value
This method appends a Base64 value to the end of an array. A structure, for example, can be addressed as an input parameter. The corresponding Base64 coding is done by the method.
Syntax
METHOD PushbackBase64Value : SJsonValue
VAR_INPUT
v : SJsonValue;
p : PVOID;
n : DINT;
END_VAR
Return value
Name | Type |
---|---|
PushbackBase64Value | SJsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | sJsonValue (note possible invalidity) |
p | PVOID |
n | DINT |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackBase64Value(jsonArray, ADR(stStruct), SIZEOF(stStruct));