Support for large ledmaps

optimize jMapC, enumerateLedmaps and deserializeMap
This commit is contained in:
Ewoud
2023-05-16 13:12:30 +02:00
parent fc0c6d9293
commit d6bc9967d0
8 changed files with 1405 additions and 1374 deletions

View File

@@ -339,6 +339,7 @@ bool readObjectFromFileUsingId(const char* file, uint16_t id, JsonDocument* dest
}
//if the key is a nullptr, deserialize entire object
//WLEDMM: if key is not a nullptr, nothing seems to be done with it!!! (except check for existing), still whole json is loaded
bool readObjectFromFile(const char* file, const char* key, JsonDocument* dest)
{
if (doCloseFile) closeFile();