open fun toToml(): String (source)
Get a TOML-formatted representation of this configuration.
Return
A TOML-formatted representation.
open fun toToml(path: Path): Unit (source)
Save a configuration to a TOML-formatted file.
If necessary, parent directories for the output file will be created.
path - The file path to write the TOML-formatted output to.
IOException - If the file cannot be written.
abstract fun toToml(appendable: Appendable): Unit (source)
Writes a configuration in TOML format.
appendable - The output to write to.