PushbackBoolValue

PushbackBoolValue 1:

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

Syntax

METHOD PushbackBoolValue : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : BOOL;
END_VAR

PushbackBoolValue 2: Rückgabewert

Name

Typ

PushbackBoolValue

SJsonValue

PushbackBoolValue 3: Eingänge

Name

Typ

v

sJsonValue

value

BOOL

Beispielaufruf:

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