forked from bblanchon/ArduinoJson
31 lines
475 B
C++
31 lines
475 B
C++
#pragma once
|
|
|
|
//class JsonBuffer;
|
|
//class JsonNode;
|
|
//class JsonObject;
|
|
|
|
class JsonValue
|
|
{
|
|
public:
|
|
|
|
explicit JsonValue(JsonNode* node)
|
|
: _node(node)
|
|
{
|
|
}
|
|
|
|
void operator=(bool);
|
|
void operator=(const char*);
|
|
void operator=(double);
|
|
void operator=(int);
|
|
|
|
operator bool();
|
|
operator const char*();
|
|
operator double();
|
|
operator int();
|
|
|
|
private:
|
|
//JsonBuffer& _buffer;
|
|
JsonNode* _node;
|
|
};
|
|
|