mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-11-02 15:41:37 +01:00
Added JsonArray::getBool() and JsonHashTable::getBool()
This commit is contained in:
@@ -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