PushbackBase64Value
![PushbackBase64Value 1:](Images/jpg/13465019659__Web.jpg)
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 |
Inputs
Name | Type |
---|---|
v | sJsonValue |
p | PVOID |
n | DINT |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackBase64Value(jsonArray, ADR(stStruct), SIZEOF(stStruct));