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.
#r "nuget: Persist,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Persist as a Cake Addin
#addin nuget:?package=Persist&version=

// Install Persist as a Cake Tool
#tool nuget:?package=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 1,017 6/20/2016 895 6/20/2016 935 6/5/2016 942 6/4/2016 966 6/3/2016 938 6/1/2016 1,012 5/30/2016 719 5/30/2016 723 5/30/2016 726 5/30/2016 695 5/28/2016 713 5/28/2016 724 5/28/2016 718 5/29/2016 702 5/29/2016