Mark Allanson
07/08/2021, 2:40 PMkotlinx.serialization
when all you're doing is serializing with no care for deserialization later, or allow specification of another field instead of type as the discriminatorEmil Kantis
07/08/2021, 2:56 PMclassDiscriminator = "otherProperty"
. As far as I know you can't omit it completely. It's something I would like as well..Mark Allanson
07/08/2021, 2:57 PMephemient
07/08/2021, 6:30 PM