PushbackDoubleValue

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