forked from bblanchon/ArduinoJson
Test that adding values to the JsonObject increase the size of the buffer
This commit is contained in:
22
srcs/JsonBuffer.h
Normal file
22
srcs/JsonBuffer.h
Normal file
@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class JsonObject;
|
||||
struct JsonNode;
|
||||
|
||||
class JsonBuffer
|
||||
{
|
||||
friend class JsonObject;
|
||||
|
||||
public:
|
||||
// virtual ~JsonBuffer() = 0;
|
||||
|
||||
JsonObject createObject();
|
||||
|
||||
protected:
|
||||
virtual /*JsonNode&*/void allocateNode() = 0;
|
||||
|
||||
/*JsonNode&*/void createNode();
|
||||
};
|
||||
|
Reference in New Issue
Block a user