AddJsonObject method: JsonObject class

Syntax


AddJsonObject(Name, JObj)

Description

Use this method to add a Json object to this Json object.

Parameters

Parameter Description

Name

Specifies the name of the Json object that needs to be added as a string.

JObj

Specifies the Json object that needs to be added as a JsonObject.

Returns

None.

Example

Local JsonObject &jobj = CreateJsonObject();
Local JsonArray &jObj2 = CreateJsonArray();
&jObj.AddJsonObject("Address", &jObj);