PushbackDcTimeValue

PushbackDcTimeValue 1:

This method appends a value of the data type DCTIME to the end of an array.

Syntax

METHOD PushbackDcTimeValue : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : DCTIME;
END_VAR

PushbackDcTimeValue 2: Return value

Name

Type

PushbackDcTimeValue

SJsonValue (note possible invalidity)

PushbackDcTimeValue 3: Inputs

Name

Type

v

sJsonValue (note possible invalidity)

value

DCTIME

Sample call:

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