mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-15 19:42:12 +02:00
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