JsonData¶
GetBoolData¶
bool GetBoolData() const
Attempts to return this JsonData's boolean data.
If this JsonData is not of type boolean, it will throw a JsonWrongDataTypeException.
You can check this via GetDataType()
.
Aliases¶
Alternative ways to call this function
myJsonData.AsBool;
bool b = myJsonData;