forked from bblanchon/ArduinoJson
Test that nested JsonObject can be stored
This commit is contained in:
@ -5,6 +5,8 @@ struct JsonNode;
|
||||
|
||||
class JsonObject
|
||||
{
|
||||
friend JsonValue;
|
||||
|
||||
public:
|
||||
JsonObject()
|
||||
: _node(0)
|
||||
@ -20,6 +22,11 @@ public:
|
||||
|
||||
JsonValue operator[](const char* key);
|
||||
|
||||
bool operator== (const JsonObject& other) const
|
||||
{
|
||||
return _node == other._node;
|
||||
}
|
||||
|
||||
private:
|
||||
JsonNode* _node;
|
||||
|
||||
|
Reference in New Issue
Block a user