Is it possible to omit the type discriminant when ...
# serialization
c
Is it possible to omit the type discriminant when serializing a sealed class? I never need to deserialize, only serialize. (this is Json btw)
e
JsonContentPolymorphicSerializer
should work, if you never deserialize then just stub out
Copy code
override fun selectDeserializer(element: JsonElement): DeserializationStrategy<T> {
    TODO()
}