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.


if the given JSON string is not a valid JSON input for the type T

if the decoded input cannot be represented as a valid instance of type T