findPolymorphicSerializer

fun <T : Any> AbstractPolymorphicSerializer<T>.findPolymorphicSerializer(decoder: CompositeDecoder, klassName: String?): DeserializationStrategy<out T>
fun <T : Any> AbstractPolymorphicSerializer<T>.findPolymorphicSerializer(encoder: Encoder, value: T): SerializationStrategy<T>