forked from bblanchon/ArduinoJson
Extracted class JsonContainer
This commit is contained in:
1 parent
d66a7adc22
commit
b0e43f7538
9 files changed
+63
-31
No files matched your search
@@ -41,7 +41,7 @@ struct JsonNode
|
||||
{
|
||||
JsonNode* child;
|
||||
JsonBuffer* buffer;
|
||||
} asObject;
|
||||
} asContainer;
|
||||
|
||||
struct
|
||||
{
|
||||
|
||||
@@ -41,7 +41,7 @@ size_t JsonNodeSerializer::serializeObject(const JsonNode* node)
|
||||
|
||||
n += _sink.write('{');
|
||||
|
||||
JsonNode* firstChild = node->content.asObject.child;
|
||||
JsonNode* firstChild = node->content.asContainer.child;
|
||||
|
||||
for (JsonNode* child = firstChild; child; child = child->next)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user