A tiny helper library to wrap dependencies and provide a one liner to load json config files
#include<Arduino.h>
#include<ArduinoJson.h>
#include<ConfigUtils.h>
DynamicJsonDocument config(5*1024);//5 KBvoidsetup() {
Serial.begin(115200);
//required 'data' folder with 'config.json'//flash the file system with the platformio command ://>pio run -t uploadfsload_json(config,"/config.json");
//now you can configure any component with json//below just a pretty printserializeJsonPretty(config, Serial);
}
voidloop() {
delay(10000);
}