GetNumber method: JsonObject class

Syntax

GetNumber(Name)

Description

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

Parameters

Parameter Description

Name

Specifies the name of the number object as a string.

Returns

Number.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Salary", "TYPE_NUMBER");
Local Number &jn = &jObj.GetNumber("Salary");