Allows to load/save a custom configuration JSON file.
- Add the library reference to your project.
- Implement the ICustomConfig interface to allow object initialization.
- Create an instance of the CustomConfig using your config class and load the configuration.
CustomConfig<MyConfig> config = new(Filename);
bool loaded = await config.LoadConfigAsync(); - Saving can be done doing a simple call to SaveConfigAsync().
bool saved = await config.SaveConfigAsync();