mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Add JsonVariant::link() (resolves #1343)
This commit is contained in:
@@ -25,7 +25,7 @@ class JsonSerializer : public Visitor<size_t> {
|
||||
VariantSlot *slot = array.head();
|
||||
|
||||
while (slot != 0) {
|
||||
slot->data()->accept(*this);
|
||||
slot->data()->resolve()->accept(*this);
|
||||
|
||||
slot = slot->next();
|
||||
if (slot == 0)
|
||||
@@ -46,7 +46,7 @@ class JsonSerializer : public Visitor<size_t> {
|
||||
while (slot != 0) {
|
||||
_formatter.writeString(slot->key());
|
||||
write(':');
|
||||
slot->data()->accept(*this);
|
||||
slot->data()->resolve()->accept(*this);
|
||||
|
||||
slot = slot->next();
|
||||
if (slot == 0)
|
||||
|
||||
Reference in New Issue
Block a user