Syntax

AddJsonArray(name, json_array)

Description

Use this method to add a JsonArray to the JSON Object.

Parameters

Name Description
name Specifies the name of the Json array that needs to be added as a string.
json_array Specifies the Json array to add to the JSON Object as a JsonArray object type.

Returns

None.

Example

Local JsonArray &jaJson = CreateJsonArray();
   
/* Populate Json Array ... */
   
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
   
&oObject.AddJsonArray("MyJsonArray", &jaJson);