SetInt64
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
Return value
Name | Type |
---|---|
SetInt64 | SJsonValue (note possible invalidity) |
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);