Join Slack
Powered by
How can I not polymorphically serialize a class? ...
# serialization
t
Tristan F.-R.
08/22/2021, 1:08 AM
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
2
Views
Open in Slack
Previous
Next