SharpYaml
SharpYaml copied to clipboard
Support System.Runtime.Serialization.ISerializable
When serializing objects in .NET, please support the native interface of ISerializable.
Json.NET provides a good template for how this should work. Essentially, your serializer should look for the interface, and if it's implemented then look for GetDataObject() method and only serialize the fields and properties returned from that.
http://www.newtonsoft.com/json/help/html/SerializationGuide.htm#ISerializable