Companion

object Companion

Extensions

Link copied to clipboard
fun TomlValue.Companion.from(string: String): TomlDocument

Parse the given TOML-formatted string into a TOML map.

fun TomlValue.Companion.from(stream: InputStream): TomlDocument

Parse the given TOML-formatted input stream into a TOML map.

fun TomlValue.Companion.from(path: Path): TomlDocument

Parse the given TOML-formatted file into a TOML map.