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