Fixed bug in JsonArray::begin() and end()

This commit is contained in:
Benoit Blanchon committed 2014-07-19 14:55:16 +02:00
1 parent 0fe77176e1
commit cd7a7b1533
4 files changed
+23 -8

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ JsonValue JsonObject::operator[](const char* desiredKey)
JsonToken runningToken = firstChild();
// scan each keys
for (int i = 0; i < size() / 2; i++)
for (int i = 0; i < childrenCount() / 2; i++)
{
// get 'key' token string
char* key = runningToken.getText();