forked from bblanchon/ArduinoJson
Added JsonObjectIterator
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "JsonValue.h"
|
||||
#include "JsonObjectIterator.h"
|
||||
|
||||
namespace ArduinoJson
|
||||
{
|
||||
@ -43,6 +44,16 @@ namespace ArduinoJson
|
||||
return getValue(key).success();
|
||||
}
|
||||
|
||||
JsonObjectIterator begin()
|
||||
{
|
||||
return JsonObjectIterator(json, token.firstChild());
|
||||
}
|
||||
|
||||
JsonObjectIterator end()
|
||||
{
|
||||
return JsonObjectIterator(json, token.nextSibling());
|
||||
}
|
||||
|
||||
DEPRECATED JsonArray getArray(const char* key);
|
||||
|
||||
DEPRECATED bool getBool(const char* key)
|
||||
|
Reference in New Issue
Block a user