forked from bblanchon/ArduinoJson
Removed JsonPair constructor
This commit is contained in:
@ -12,7 +12,7 @@ namespace ArduinoJson {
|
||||
namespace Internals {
|
||||
|
||||
struct JsonObjectNode {
|
||||
JsonObjectNode(const char* key) : content(key), next(NULL) {}
|
||||
JsonObjectNode() : next(NULL) {}
|
||||
|
||||
JsonPair content;
|
||||
JsonObjectNode* next;
|
||||
|
@ -67,7 +67,7 @@ class JsonObject : public Internals::JsonPrintable<JsonObject>,
|
||||
JsonObject(JsonBuffer *buffer) : _buffer(buffer), _firstNode(NULL) {}
|
||||
|
||||
JsonVariant &add(key_type key) { return (*this)[key]; }
|
||||
Internals::JsonObjectNode *createNode(key_type key);
|
||||
Internals::JsonObjectNode *createNode();
|
||||
void addNode(Internals::JsonObjectNode *nodeToAdd);
|
||||
void removeNode(Internals::JsonObjectNode *nodeToRemove);
|
||||
|
||||
|
@ -11,8 +11,6 @@
|
||||
namespace ArduinoJson {
|
||||
|
||||
struct JsonPair {
|
||||
JsonPair(const char* k) : key(k) {}
|
||||
|
||||
const char* key;
|
||||
JsonVariant value;
|
||||
};
|
||||
|
Reference in New Issue
Block a user