polymorphicDefaultDeserializer

abstract fun <Base : Any> polymorphicDefaultDeserializer(baseClass: KClass<Base>, defaultDeserializerProvider: (className: String?) -> DeserializationStrategy<out Base>?)

Accept a default deserializer provider, associated with the baseClass for polymorphic deserialization.

This will not affect serialization.

See also