forked from bblanchon/ArduinoJson
Moved implemntation of operator[] into JsonObject
This commit is contained in:
1 parent
f565a9b1b7
commit
3e8861b1a0
5 files changed
+69
-73
No files matched your search
@@ -33,13 +33,16 @@ namespace ArduinoJson
|
||||
return isArray();
|
||||
}
|
||||
|
||||
JsonValue operator[](int index)
|
||||
{
|
||||
return JsonValue::operator[](index);
|
||||
}
|
||||
|
||||
int size()
|
||||
{
|
||||
return isArray() ? childrenCount() : 0;
|
||||
}
|
||||
|
||||
JsonValue operator[](int index);
|
||||
|
||||
JsonArrayIterator begin()
|
||||
{
|
||||
return isArray() ? firstChild() : null();
|
||||
|
||||
Reference in new issue
Block a user