Syntax
AddJsonObject(name, json_object)
Description
Use this method to add a JsonObject to the JSON Object.
Parameters
Name | Description |
---|---|
name | Specifies the name of the Json object that needs to be added as a string. |
json_object | Specifies the Json object to add to the JSON Object as a JsonObject object type. |
Returns
None.
Example
Local JsonObject &joJson = CreateJsonObject();
/* Populate Json Object ... */
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
&oObject.AddJsonObject("MyJsonObject", &joJson);