PushbackInt64Value

PushbackInt64Value 1:

This method appends a value of the data type Int64 to the end of an array.

Syntax

METHOD PushbackInt64Value : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : LINT;
END_VAR

PushbackInt64Value 2: Return value

Name

Type

PushbackInt64Value

SJsonValue

PushbackInt64Value 3: Inputs

Name

Type

v

sJsonValue

value

LINT

Sample call:

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