1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-11-28 04:13:16 +00:00

Changes to support ArduinoJson 6 & 7

This commit is contained in:
MartinMueller2003
2024-03-26 16:06:23 -04:00
parent 7dc51d1274
commit 75bd3dc378
6 changed files with 38 additions and 19 deletions

View File

@@ -133,7 +133,7 @@ bool Control::MarshalControl(JsonObject & _item,
_item[F("offset")] = StartingOffset;
_item[F("length")] = ValueLenToSend;
_item[F("total")] = value.length();
item = _item.createNestedObject(F("control"));
AllocateNamedJsonObject(item, _item, F("control"));
}
item[F("id")] = id;