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

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

- Support for TypeConverters
- Updated Yaml depencency to 3.90 because it had a bug that made JsonArchive to crash

Can Serialize/Deserialize:
- Arbitrary custom types, native types, anonymous types, enums, IDictionary, IList, IConvertible
- Multiply and possibly cyclical references to objects
- Polymorphic objects
- Using converters through TypeConverterAttribute
- External types using MetadataTypeAttribute to specify the properties or converter 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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 893 6/20/2016 774 6/20/2016 813 6/5/2016 817 6/4/2016 841 6/3/2016 820 6/1/2016 893 5/30/2016 597 5/30/2016 597 5/30/2016 603 5/30/2016 572 5/28/2016 595 5/28/2016 606 5/28/2016 595 5/29/2016 579 5/29/2016