Replaced JsonToken operators by meaningful methods

This commit is contained in:
Benoit Blanchon committed 2014-07-18 15:54:49 +02:00
1 parent 4a1d8483cc
commit 714a37bd59
6 files changed
+18 -17

No files matched your search

+2 -2
View File
@@ -45,12 +45,12 @@ namespace ArduinoJson
JsonArrayIterator begin()
{
return JsonArrayIterator(json, token);
return JsonArrayIterator(json, token.firstChild());
}
JsonArrayIterator end()
{
return JsonArrayIterator(json, token + token.nestedTokenCount());
return JsonArrayIterator(json, token.nextSibling());
}
DEPRECATED int getLength()