mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Fixed bug in JsonObject::begin() and end()
This commit is contained in:
@@ -42,12 +42,12 @@ namespace ArduinoJson
|
||||
|
||||
JsonObjectIterator begin()
|
||||
{
|
||||
return firstChild();
|
||||
return isObject() ? firstChild() : null();
|
||||
}
|
||||
|
||||
JsonObjectIterator end()
|
||||
{
|
||||
return nextSibling();
|
||||
return isObject() ? nextSibling() : null();
|
||||
}
|
||||
|
||||
DEPRECATED JsonArray getArray(const char* key);
|
||||
|
||||
Reference in New Issue
Block a user