forked from bblanchon/ArduinoJson
Test that integers can be stored in a JsonObject
This commit is contained in:
@ -6,21 +6,21 @@
|
||||
|
||||
class JsonValue
|
||||
{
|
||||
//public:
|
||||
//
|
||||
// JsonValue(JsonBuffer& buffer, JsonNode& node)
|
||||
// : _buffer(buffer), _node(node)
|
||||
// {
|
||||
// }
|
||||
//
|
||||
// void operator=(const JsonObject& object);
|
||||
// void operator=(int);
|
||||
//
|
||||
// operator JsonObject();
|
||||
// operator int();
|
||||
//
|
||||
//private:
|
||||
// JsonBuffer& _buffer;
|
||||
// JsonNode& _node;
|
||||
public:
|
||||
|
||||
JsonValue(JsonNode* node)
|
||||
: _node(node)
|
||||
{
|
||||
}
|
||||
|
||||
// void operator=(const JsonObject& object);
|
||||
void operator=(int);
|
||||
|
||||
// operator JsonObject();
|
||||
operator int();
|
||||
|
||||
private:
|
||||
//JsonBuffer& _buffer;
|
||||
JsonNode* _node;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user