findPolymorphicSerializerOrNull

Lookups an actual serializer for given klassName withing the current base class. May use context from the decoder.


open override fun findPolymorphicSerializerOrNull(encoder: Encoder, value: T): SerializationStrategy<T>?(source)

Lookups an actual serializer for given value within the current base class. May use context from the encoder.