PushbackStringValue

PushbackStringValue 1:

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

PushbackStringValue 2: Return value

Name

Type

PushbackStringValue

SJsonValue

PushbackStringValue 3: Inputs

Name

Type

v

SJsonValue

PushbackStringValue 4:/PushbackStringValue 5: Inputs/Outputs

Name

Type

value

STRING

Sample call:

jsonDoc   := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackStringValue(jsonArray, sString);