PushbackUint64Value

PushbackUint64Value 1:

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

Syntax

METHOD PushbackUint64Value : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : ULINT;
END_VAR

PushbackUint64Value 2: Return value

Name

Type

PushbackUint64Value

SJsonValue

PushbackUint64Value 3: Inputs

Name

Type

v

SJsonValue

value

ULINT

Sample call:

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