storeConfig

open fun storeConfig(config: Config)

Save the config object as an JSON string in the config file.

Parameters

config

Config object to save.

Throws

If the writing to the file fails an IOException will be thrown.