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