SetUint
![SetUint 1:](Images/jpg/13466687499__Web.jpg)
This method sets the value of a property to a value of the data type UInt.
Syntax
METHOD SetUint: SJsonValue
VAR_INPUT
v : SJsonValue;
value : UDINT;
END_VAR
Return value
Name | Type |
---|---|
SetUint | SJsonValue |
Inputs
Name | Type |
---|---|
v | SJsonValue |
value | UDINT |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
jsonValue := fbJson.SetUint(jsonProp, 42);