decode With Defaults
inline fun <T> TomlMapper.decodeWithDefaults(defaultValue: T, string: String): T
Content copied to clipboard
Like decode, but fills in any values missing from the input string with values from the given defaultValue.
inline fun <T> TomlMapper.decodeWithDefaults(defaultValue: T, stream: InputStream): T
Content copied to clipboard
Like decode, but fills in any values missing from the input stream with values from the given defaultValue.
inline fun <T> TomlMapper.decodeWithDefaults(defaultValue: T, path: Path): T
Content copied to clipboard
Like decode, but fills in any values missing from the input file with values from the given defaultValue.