Receiver class kotlinx.serialization.json.internal.PolymorphismValidator does not define or inherit an implementation of the resolved method 'abstract void polymorphicDefaultDeserializer(kotlin.reflect.KClass, kotlin.jvm.functions.Function1)' of interface kotlinx.serialization.modules.SerializersModuleCollector.
java.lang.AbstractMethodError: Receiver class kotlinx.serialization.json.internal.PolymorphismValidator does not define or inherit an implementation of the resolved method 'abstract void polymorphicDefaultDeserializer(kotlin.reflect.KClass, kotlin.jvm.functions.Function1)' of interface kotlinx.serialization.modules.SerializersModuleCollector.
Does anybody know what could cause this?
altavir
12/29/2021, 9:19 AM
Seems like some kind of binary incompatibility inside serialization, but this time it all happens inside single module.
altavir
12/29/2021, 9:30 AM
Ah, solved that. I had version inconsistency between serialization core and json