spand
01/23/2023, 8:15 AMCLOVIS
01/23/2023, 11:12 AMCLOVIS
01/23/2023, 11:15 AM@SerialName :
@Serializable
sealed class Foo {
@Serializable
@SerialName("bar")
data class Bar(…) : Foo()
}spand
01/23/2023, 11:15 AMCLOVIS
01/23/2023, 11:16 AMspand
01/23/2023, 11:16 AMCLOVIS
01/23/2023, 11:16 AMCLOVIS
01/23/2023, 11:17 AMspand
01/23/2023, 11:19 AMCLOVIS
01/23/2023, 11:19 AMspand
01/23/2023, 11:27 AMpolymophic in the serializersModule .spand
01/23/2023, 11:31 AMtype field with JsonContentPolymorphicSerializer which we do not use for this case but probably should.
It is possible to serialize values this serializer. In that case, class discriminator property won't be added to JSON stream [...]CLOVIS
01/23/2023, 1:57 PMArrayList to be polymorphic?spand
01/23/2023, 1:58 PMCLOVIS
01/23/2023, 1:58 PMit is triggered by the class having a field with a type that is configured to bein thepolymophicserializersModule
spand
01/23/2023, 2:00 PM