I still think that the following is relevant for others besides me
I want to serialize enums to strings for text archives, while for binary I want to use standard serialization as an int.
(For my own classes, I want to define a standard serialization, but as soon as I define a string serialization, I want it to be applied for all text archives, while for binary the standard is applied.)
After trying for 2h, I gave up.
Could you come up with a convenient way to do this?
I still think that the following is relevant for others besides me
I want to serialize enums to strings for text archives, while for binary I want to use standard serialization as an int.
(For my own classes, I want to define a standard serialization, but as soon as I define a string serialization, I want it to be applied for all text archives, while for binary the standard is applied.)
After trying for 2h, I gave up.
Could you come up with a convenient way to do this?