SetInt64

SetInt64 1:

This method sets the value of a property to a value of the data type Int64.

Syntax

METHOD SetInt64 : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : LINT;
END_VAR

SetInt64 2: Return value

Name

Type

SetInt64

SJsonValue (note possible invalidity)

SetInt64 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

value

LINT

Sample call:

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