decodeFromString

override fun <T> decodeFromString(deserializer: DeserializationStrategy<T>, string: String): T

Deserializes the given JSON string into a value of type T using the given deserializer.

Throws

if the given JSON string cannot be deserialized to the value of type T.