SetUint

SetUint 1:

Diese Methode setzt den Value eines Properties auf einen Wert vom Datentyp UInt.

Syntax

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

SetUint 2: Rückgabewert

Name

Typ

SetUint

SJsonValue

SetUint 3: Eingänge

Name

Typ

v

SJsonValue

value

UDINT

Beispielaufruf:

jsonDoc   := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp  := fbJson.FindMember(jsonDoc, 'property');
jsonValue := fbJson.SetUint(jsonProp, 42);