Added JsonArrayIterator

This commit is contained in:
Benoit Blanchon
2014-10-22 17:59:59 +02:00
parent 9946abf731
commit d842e246c9
6 changed files with 87 additions and 5 deletions

View File

@ -86,4 +86,12 @@ JsonObject JsonArray::createNestedObject()
}
return JsonObject(node);
}
JsonArrayIterator JsonArray::begin()
{
if (!_node)
return end();
return JsonArrayIterator(_node->getContainerChild());
}