forked from bblanchon/ArduinoJson
Added JsonArray::getBool() and JsonHashTable::getBool()
This commit is contained in:
1 parent
9e91fb3f46
commit
9c7ff38bbf
6 files changed
+30
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user