AddDoubleMember
![AddDoubleMember 1:](Images/jpg/13435192203__Web.jpg)
This method adds a Double member to a JSON object.
Syntax
METHOD AddDoubleMember : SJsonValue
VAR_INPUT
v : SJsonValue;
value : LREAL;
END_VAR
VAR_IN_OUT CONSTANT
member : STRING;
END_VAR
Return value
Name | Type |
---|---|
AddDoubleMember | SJsonValue |
Inputs
Name | Type |
---|---|
v | SJsonValue |
value | LREAL |
/
Inputs/Outputs
Name | Type |
---|---|
member | STRING |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonMem := fbJson.AddDoubleMember(jsonDoc, 'TestDouble', 42.42);