Syntax
AddJsonNode(name, json_node)
Description
Use this method to add a JsonNode to the JSON Object.
Parameters
Name | Description |
---|---|
name | Specifies the name of the Json node that needs to be added as a string. |
json_node | Specifies the Json node to add to the JSON Object as a JsonNode object type. |
Returns
None.
Example
Local JsonNode &jnJson = CreateJsonNode();
/* Populate Json Node ... */
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
&oObject.AddJsonNode("MyJsonNode", &jnJson);