mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Added JsonObjectIterator
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user