AddUintMember
![AddUintMember 1:](Images/jpg/13435197323__Web.jpg)
This method adds an UInt member to a JSON object.
Syntax
METHOD AddUintMember : SJsonValue
VAR_INPUT
v : SJsonValue;
value : UDINT;
END_VAR
VAR_IN_OUT CONSTANT
member : STRING;
END_VAR
Return value
Name | Type |
---|---|
AddUintMember | SJsonValue |
Inputs
Name | Type |
---|---|
v | SJsonValue |
value | UDINT |
/
Inputs/Outputs
Name | Type |
---|---|
member | STRING |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonMem := fbJson.AddUintMember(jsonDoc, 'TestUint', 42);