Added JsonArray::getBool() and JsonHashTable::getBool()

This commit is contained in:
Benoit Blanchon committed 2014-01-12 20:30:24 +01:00
1 parent 9e91fb3f46
commit 9c7ff38bbf
6 files changed
+30

No files matched your search

+5
View File
@@ -41,6 +41,11 @@ JsonArray JsonArray::getArray(int index)
return JsonArray(json, getToken(index));
}
bool JsonArray::getBool(int index)
{
return getBoolFromToken(getToken(index));
}
double JsonArray::getDouble(int index)
{
return getDoubleFromToken(getToken(index));