How do you guys handle object serialization in the...
# announcements
i
How do you guys handle object serialization in the context of Sealed classes? This is a behaviour that we get for “free” with enums.
k
What library is that?
i
It’s not a library.
I am displaying the problem
t
If you only have `object`s as subclasses, you could use an enum instead
i
Yeah, i simplified the problem, but the sealed class can have other things besides objects