I assume you have not very big amount of enum clas...
# serialization
s
I assume you have not very big amount of enum classes in project so you can write serializers manually for each of them. Generics are a bit tricky though and I doubt it would be easy to implement a serializer in such a way it would be recognized.