mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Added JsonArrayIterator
This commit is contained in:
@@ -3,16 +3,13 @@
|
||||
namespace ArduinoJson
|
||||
{
|
||||
class JsonBuffer;
|
||||
|
||||
|
||||
namespace Internals
|
||||
{
|
||||
class JsonWriter;
|
||||
class JsonNodeIterator;
|
||||
|
||||
class JsonNode
|
||||
{
|
||||
friend class JsonNodeIterator;
|
||||
|
||||
enum JsonNodeType
|
||||
{
|
||||
JSON_UNDEFINED,
|
||||
@@ -63,6 +60,8 @@ namespace ArduinoJson
|
||||
|
||||
}
|
||||
|
||||
JsonNode* next;
|
||||
|
||||
void writeTo(JsonWriter&); // TODO: <- move in JsonNodeSerializer
|
||||
|
||||
void setAsArray(JsonBuffer* buffer)
|
||||
@@ -175,7 +174,6 @@ namespace ArduinoJson
|
||||
|
||||
private:
|
||||
JsonNodeType type;
|
||||
JsonNode* next;
|
||||
JsonNodeContent content;
|
||||
|
||||
inline void writeArrayTo(JsonWriter&);// TODO: <- move in JsonNodeSerializer
|
||||
|
||||
Reference in New Issue
Block a user