Syntax

AddJsonObject(json_object)

Description

Use this method to add a JsonObject to the JSON Array.

Parameters

Name Description
json_object Specifies the Json object to add to the JSON Array as a JsonObject data type.

Returns

None.

Example

Local JsonObject &joJson = CreateJsonObject();
   
/* Populate Json Object ... */
   
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
   
&oArray.AddJsonObject(&joJson);