AddFileTimeMember

AddFileTimeMember 1:

This method adds a FileTime member to a JSON object.

Syntax

METHOD AddFileTimeMember : SJsonValue
VAR_INPUT
  v      : SJsonValue;
  value  : FILETIME;
END_VAR
VAR_IN_OUT CONSTANT
  member : STRING;
END_VAR

AddFileTimeMember 2: Return value

Name

Type

AddFileTimeMember

SJsonValue (note possible invalidity)

AddFileTimeMember 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

value

FILETIME

AddFileTimeMember 4:/AddFileTimeMember 5: Inputs/outputs

Name

Type

member

STRING

Sample call:

jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonMem := fbJson.AddFileTimeMember(jsonDoc, 'TestFileTime', ftTime);