AddJsonArrayElement method: JsonArray class

Syntax

AddJsonArrayElement(Name, Array)

Description

Use this method to add a Json array to the Json array.

Parameters

Parameter Description

Name

Specifies the name of the Json array as a string.

Array

Specifies the array as a JsonArray.

Returns

None.

Example

Local JsonArray &jArray = CreateJsonArray();
Local JsonArray &jArr1 = CreateJsonArray();
&jArray.AddJsonArrayElement("Member Names", &jArr1);