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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user