Persist is a .Net serializer/deserializer supporting  XML/Json/Yaml formats

There is a newer version of this package available.
See the version list below for details.
Install-Package Persist -Version
dotnet add package Persist --version
<PackageReference Include="Persist" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Persist --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

+ deserialize archive to dynamic objects or dictionaries ,  for when you do not know the original type
+ cast a Persist's generated dynamic object to a Node object
+ removed dependency
+ equality methods for Node & NodeAttribute

  I need fix bug with polymorphic types ( basic types nor lists nor dictionaries work)
  Add ICollection<> to supported deserializers
  Create runtime write & read to deal with late runtime type objects (eg. Dictionary<object,object> )

Can Serialize/Deserialize:
- Arbitrary custom types, native types, anonymous types, enums, IDictionary, IList, IConvertible
- Multiply and possibly cyclical references to objects
- Polymorphic objects
- External types using metadata to specify the properties to use
- Evolving types : you can add or remove properties/fields with no problem
- Xml, Json, Yaml and any format you want because it is extensible
- To/From a generic Node object that you can add/remove attributes and children
- Using a PersistAttribute that allows you to:
- Change the member name
- Specify if serialize/deserialize as a reference
- Ignore a member

- Serialize and Deserialize any .Net object with Persist's powerful serializer
- Since the metadata for the type is created on the constructor
serialization and deserialization is really fast
- Persist is open source so you can contribute and completely free for comercial use
- Create, parse, query and modify archives using Persist's Node and NodeAttribute objects
- Serialization of objects with references is clearer and smaller than Newtonsoft library
- Easy to use, comes with a static ArchiveUtils class with a lot of helper methods
- if you need it Persist supports conversion between all of the 3 data formats ( xml, yaml, json)

check more documentation at

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 692 6/20/2016 597 6/20/2016 625 6/5/2016 647 6/4/2016 670 6/3/2016 653 6/1/2016 715 5/30/2016 469 5/30/2016 460 5/30/2016 479 5/30/2016 444 5/28/2016 464 5/28/2016 465 5/28/2016 452 5/29/2016 453 5/29/2016
Show less