Companion

object Companion

Extensions

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

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

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

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

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

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