ekolis / stars-nova

Clone of the classic 4X game Stars!. Fork of original svn repo on SourceForge.
Other
17 stars 7 forks source link

Upgrade serialization code #60

Open ekolis opened 3 years ago

ekolis commented 3 years ago

Describe what needs to be improved.

The serialization code in Nova is seriously out of date; a lot of classes seem to handle the task of their own serialization into XML. We could upgrade this to use another more automated method of serialization, such as System.Text.Json or the FrEee serializer.

Describe how this change could impact the quality of the code.

This could eliminate a lot of boilerplate code, which could be replaced with attributes directing the serializer to treat certain properties in certain ways.