forked from bblanchon/ArduinoJson
Fixed bug in JsonObject::begin() and end()
This commit is contained in:
1 parent
e94575b4b8
commit
0fe77176e1
5 files changed
+73
-39
No files matched your search
@@ -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