PushbackIntValue

PushbackIntValue 1:

Diese Methode hängt einen Wert vom Datentyp INT an das Ende eines Arrays an.

Syntax

METHOD PushbackIntValue : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : DINT;
END_VAR

PushbackIntValue 2: Rückgabewert

Name

Typ

PushbackIntValue

SJsonValue

PushbackIntValue 3: Eingänge

Name

Typ

v

sJsonValue

value

DINT

Beispielaufruf:

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