forked from bblanchon/ArduinoJson
Made JsonNode::next private
This commit is contained in:
1 parent
24c60619d5
commit
1bff34a204
2 files changed
+8
-4
No files matched your search
@@ -19,16 +19,19 @@ enum JsonNodeType
|
||||
};
|
||||
|
||||
class JsonWriter;
|
||||
class JsonNodeIterator;
|
||||
|
||||
struct JsonNode
|
||||
class JsonNode
|
||||
{
|
||||
friend class JsonNodeIterator;
|
||||
|
||||
public:
|
||||
JsonNode()
|
||||
: type(JSON_UNDEFINED), next(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
JsonNode* next;
|
||||
|
||||
void writeTo(JsonWriter&); // TODO: <- move in JsonNodeSerializer
|
||||
|
||||
void setAsArray(JsonBuffer* buffer)
|
||||
@@ -122,6 +125,7 @@ struct JsonNode
|
||||
|
||||
private:
|
||||
JsonNodeType type; // <- TODO: hide
|
||||
JsonNode* next;
|
||||
|
||||
inline void writeArrayTo(JsonWriter&);// TODO: <- move in JsonNodeSerializer
|
||||
inline void writeObjectTo(JsonWriter&);// TODO: <- move in JsonNodeSerializer
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
class JsonArray;
|
||||
class JsonContainer;
|
||||
class JsonObject;
|
||||
struct JsonNode;
|
||||
class JsonNode;
|
||||
|
||||
class JsonValue
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user