PushbackIntValue
This method appends a value of the data type INT to the end of an array.
Syntax
METHOD PushbackIntValue : SJsonValue
VAR_INPUT
v : SJsonValue;
value : DINT;
END_VAR
Return value
Name | Type |
---|---|
PushbackIntValue | SJsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | sJsonValue (note possible invalidity) |
value | DINT |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackIntValue(jsonArray, 42);