decodeFromString

inline fun <T> StringFormat.decodeFromString(string: String): T(source)

Decodes and deserializes the given string to the value of type T using deserializer retrieved from the reified type parameter.

Throws

in case of any decoding-specific error

if the decoded input is not a valid instance of T