write

fun TomlValue.Map.write(output: Appendable)

Serializes the receiver TomlValue.Map into a valid TOML document and writes it to the given Appendable.


fun TomlValue.Map.write(outputStream: OutputStream)

Serializes the receiver TomlValue.Map into a valid TOML document and writes it to the given OutputStream.


fun TomlValue.Map.write(path: Path)

Serializes the receiver TomlValue.Map into a valid TOML document and writes it to the file represented by the given Path.