Added JsonObjectIterator

This commit is contained in:
Benoit Blanchon
2014-10-22 21:56:38 +02:00
parent 7e98d136f4
commit 40ac60b941
5 changed files with 121 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#pragma once
#include "JsonContainer.hpp"
#include "ArduinoJson/JsonContainer.hpp"
#include "ArduinoJson/JsonObjectIterator.hpp"
namespace ArduinoJson
{
@ -28,6 +29,13 @@ namespace ArduinoJson
return _node && _node->isObject();
}
JsonObjectIterator begin();
JsonObjectIterator end()
{
return JsonObjectIterator(0);
}
private:
Internals::JsonNode* getOrCreateNodeAt(const char* key);
};