decodeFromJsonElement

fun <T> decodeFromJsonElement(deserializer: DeserializationStrategy<T>, element: JsonElement): T

Decodes element as T using the given deserializer explicitly — the general escape hatch for a caller that already has its own DeserializationStrategy and a JsonElement rather than a raw string.