GetBoolean method: JsonObject class
Syntax
GetBoolean(Name)
Description
Use this method to return the boolean value of the property mentioned by the input parameter.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specifies the name of the Boolean object as a string. |
Returns
Boolean.
Example
Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Married", "TYPE_BOOLEAN");
Local Boolean &jb = &jObj.GetBoolean("Married");