GetBooleanProperty method: JsonObject class

Syntax

GetBooleanProperty(Name)

Description

Use this method to return the Boolean property of the object as mentioned in the input parameter.

Parameters

Parameter Description

Name

Specifies the name of the Boolean property as a string.

Returns

Boolean.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Married", "TYPE_BOOLEAN");
Local boolean &bBoolProp = &jObj.GetBooleanProperty("Married");