GetInteger method: JsonObject class

Syntax

GetInteger(Name)

Description

Use this method to return the integer value of the property mentioned by the input parameter.

Parameters

Parameter Description

Name

Specifies the name of the integer object as a string.

Returns

Integer.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Id", "TYPE_INT");
Local integer &ji = &jObj.GetInteger("Id");