Closed
Description
I think iterating on WifiManagerParameters could be interesting, in order to make easier the creation of reusable configuration forms, so you could do something like:
JsonObject& json = ...
....
for (int i=0; i<wifimanager.getParametersCount(); i++){
WiFiManagerParameter parameter = wifimanager.getParameters()[i];
json[parameter.getId()] = parameter.getValue();
}
// then save the jsonfile into a file
persistJsontoFS(json);
WDYT?
Activity