mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-23 07:17:30 +02:00
Test that adding the same value twice doesn't increase the size of the object
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include "JsonNode.h"
|
||||
|
||||
class JsonObject;
|
||||
struct JsonNode;
|
||||
@ -13,10 +14,10 @@ public:
|
||||
// virtual ~JsonBuffer() = 0;
|
||||
|
||||
JsonObject createObject();
|
||||
|
||||
protected:
|
||||
virtual /*JsonNode&*/void allocateNode() = 0;
|
||||
|
||||
/*JsonNode&*/void createNode();
|
||||
virtual JsonNode* allocateNode() = 0;
|
||||
|
||||
private:
|
||||
JsonNode* createNode(JsonNodeType type);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user