forked from bblanchon/ArduinoJson
Moved JsonObject._buffer into the JsonNode's content
This commit is contained in:
@ -7,7 +7,11 @@
|
||||
JsonObject JsonBuffer::createObject()
|
||||
{
|
||||
JsonNode* node = createNode(JSON_OBJECT);
|
||||
return JsonObject(this, node);
|
||||
|
||||
if (node)
|
||||
node->content.asObject.buffer = this;
|
||||
|
||||
return JsonObject(node);
|
||||
}
|
||||
|
||||
JsonNode* JsonBuffer::createNode(JsonNodeType type)
|
||||
|
Reference in New Issue
Block a user