decodeFromString
Decodes and deserializes the given JSON 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
override fun <T> decodeFromString(deserializer: DeserializationStrategy<T>, string: String): T(source)
Deserializes the given JSON string into a value of type T using the given deserializer.