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

This commit is contained in:
Benoit Blanchon
2014-01-12 20:30:24 +01:00
parent 9e91fb3f46
commit 9c7ff38bbf
6 changed files with 30 additions and 0 deletions

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));