PushbackStringValue
This method appends a value of the data type DCTIME to the end of an array.
Syntax
METHOD PushbackStringValue : SJsonValue
VAR_INPUT
v : SJsonValue;
END_VAR
VAR_IN_OUT CONSTANT
value : STRING;
END_VAR
Return value
Name | Type |
---|---|
PushbackStringValue | SJsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | SJsonValue (note possible invalidity) |
/ Inputs/outputs
Name | Type |
---|---|
value | STRING |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackStringValue(jsonArray, sString);