Persist 1.0.0.26437
Persist is a .Net serializer/deserializer supporting XML/Json/Yaml formats
Install-Package Persist -Version 1.0.0.26437
dotnet add package Persist --version 1.0.0.26437
<PackageReference Include="Persist" Version="1.0.0.26437" />
paket add Persist --version 1.0.0.26437
#r "nuget: Persist, 1.0.0.26437"
// Install Persist as a Cake Addin
#addin nuget:?package=Persist&version=1.0.0.26437
// Install Persist as a Cake Tool
#tool nuget:?package=Persist&version=1.0.0.26437
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
Features:
- 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 Json.net 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 https://github.com/elios264/Persist
Dependencies
-
- YamlDotNet (>= 3.9.0)
Used By
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.0.0.26437 | 1,017 | 6/20/2016 |
1.0.0.26432 | 895 | 6/20/2016 |
1.0.0.26411 | 935 | 6/5/2016 |
1.0.0.26407 | 942 | 6/4/2016 |
1.0.0.26315 | 966 | 6/3/2016 |
1.0.0.26212 | 938 | 6/1/2016 |
1.0.0.26097 | 1,012 | 5/30/2016 |
1.0.0.26096 | 719 | 5/30/2016 |
1.0.0.26085 | 723 | 5/30/2016 |
1.0.0.26082 | 726 | 5/30/2016 |
1.0.0.26045 | 695 | 5/28/2016 |
1.0.0.26004 | 713 | 5/28/2016 |
1.0.0.25376 | 724 | 5/28/2016 |
1.0.0.5917 | 718 | 5/29/2016 |
1.0.0.5713 | 702 | 5/29/2016 |