decodeFromString

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

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

Throws

kotlinx.serialization.SerializationException

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