AddUint64Member

AddUint64Member 1:

This method adds an UInt64 member to a JSON object.

Syntax

METHOD AddUint64Member : SJsonValue
VAR_INPUT
  v      : SJsonValue;
  value  : ULINT;
END_VAR
VAR_IN_OUT CONSTANT
  member : STRING;
END_VAR

AddUint64Member 2: Return value

Name

Type

AddUint64Member

SJsonValue (note possible invalidity)

AddUint64Member 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

value

ULINT

AddUint64Member 4:/AddUint64Member 5: Inputs/outputs

Name

Type

member

STRING

Sample call:

jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonMem := fbJson.AddUint64Member(jsonDoc, 'TestUint64', 42);