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
@@ -53,6 +53,11 @@ JsonArray JsonHashTable::getArray(char* key)
|
||||
return JsonArray(json, getToken(key));
|
||||
}
|
||||
|
||||
bool JsonHashTable::getBool(char* key)
|
||||
{
|
||||
return getBoolFromToken(getToken(key));
|
||||
}
|
||||
|
||||
double JsonHashTable::getDouble(char* key)
|
||||
{
|
||||
return getDoubleFromToken(getToken(key));
|
||||
|
||||
Reference in new issue
Block a user