PushbackUintValue

PushbackUintValue 1:

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

Syntax

METHOD PushbackUintValue : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : UDINT;
END_VAR

PushbackUintValue 2: Return value

Name

Type

PushbackUintValue

SJsonValue (note possible invalidity)

PushbackUintValue 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

value

UDINT

Sample call:

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