config
config copied to clipboard
How to save setting
trafficstars
I am using the lightbend library with Java, with a config file in the filesystem, using parseFile(). I did not find how to change a setting and save it back to the file. How can that be done (if at all)?
You can call config.root.render() to convert a Config to a string, but it does not preserve formatting, and there's no method that writes it to a file for you.