mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 08:48:27 +01:00
Test that adding values to the JsonObject increase the size of the buffer
This commit is contained in:
@@ -24,9 +24,8 @@ class JsonObject
|
||||
|
||||
public:
|
||||
|
||||
|
||||
explicit JsonObject()
|
||||
: _size(0)
|
||||
JsonObject(JsonBuffer* buffer)
|
||||
: _size(0), _buffer(buffer)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -41,8 +40,8 @@ private:
|
||||
|
||||
int _size;
|
||||
|
||||
// JsonBuffer& _buffer;
|
||||
// JsonNode& _node;
|
||||
JsonBuffer* _buffer;
|
||||
//JsonNode* _node;
|
||||
//
|
||||
// void addNodeAt(char const* key, JsonNode& node);
|
||||
// JsonNode& getNodeAt(const char* key);
|
||||
|
||||
Reference in New Issue
Block a user