GetChildCount method: JsonObject class

Syntax

GetChildCount()

Description

Use this method to return the child count of the Json object.

Parameters

None.

Returns

Integer.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Name", "TYPE_STRING");
&jObj.AddProperty("Id", "TYPE_INT");
Local integer &childcount = &jObj.GetChildCount();