How can I not polymorphically serialize a class? ...
# serialization
t
How can I not polymorphically serialize a class? XY: Serializing an EntityType which is a namespace of
mod:entity_name
, thus always being a String. It has a private
EntityTypeImpl
which I can not access -- can I tell kotlinx.serialization to serialize all subclasses of EntityType using the EntityTypeSerializer