Persist is a .Net serializer with support for references and polymorphic objects supports writing/reading to 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

-Pretty print option for JsonArchive

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 466 5/30/2016 457 5/30/2016 476 5/30/2016 441 5/28/2016 461 5/28/2016 462 5/28/2016 449 5/29/2016 450 5/29/2016