SharpSerializer - serializer for .NET Framework

SharpSerializer is an open source serializer for .NET Framework and .NET Compact Framework. It's purpose is simple and quick object serialization from A to B, without security considerations. SharpSerializer can a lot more than the built-in XMLSerializer and does it simpler. It can serialize to XML such types as a generic dictionary, multidimensional array, nested array/array of array, polymorphic/inherited objects. 

http://www.sharpserializer.com

Load from File

var ss = new Polenter.Serialization.SharpSerializer();
 var store = (MyDataType)ss.Deserialize(filePath);

Save to File

var ss = new Polenter.Serialization.SharpSerializer();
 ss.Serialize(filePath, objectToSerialize);

 

Kommentare sind geschlossen

Tags