BenjaminChambers / SudokuSharp

A C# library for working with Sudoku puzzles
MIT License
3 stars 3 forks source link

Add serialization to all classes #3

Closed BenjaminChambers closed 8 years ago

BenjaminChambers commented 9 years ago

To make saving / loading easier

BenjaminChambers commented 9 years ago

All classes have been marked with [DataContract], and appropriate member fields and properties have been marked with [DataMember].

I'm testing this now to see if it works with the Json.Net serializer (http://www.newtonsoft.com/json). Once I confirm that, I'll may test with the XmlSerializer, or just call it good.

BenjaminChambers commented 8 years ago

Never tested with XmlSerializer, but the Json.Net serializer works great in a couple apps I've written