PushbackIntValue
![PushbackIntValue 1:](Images/jpg/13465133579__Web.jpg)
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 |
Inputs
Name | Type |
---|---|
v | sJsonValue |
value | DINT |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackIntValue(jsonArray, 42);