Syntax
AddResponse(name, response)
Description
Use this method to add a Response object to the JSON Object.
Parameters
Name | Description |
---|---|
name | Specifies the name of the response that needs to be added as a string. |
response | Specifies the response to add to the JSON Object as a Response object. |
Returns
None.
Example
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
&oObject.AddResponse("MyResponse", %Response);