XSerializer - Serialize *anything*

XML
XSerializer's XML serialization handles properties and types that the System.Xml.Serialization.XmlSerializer does not handle, such as interfaces and dictionaries.

It is meant to be a drop-in replacement for the BCL XmlSerializer - it uses the same attributes: [XmlElement], [XmlAttribute], etc.

JSON
JSON serialization in XSerializer has better performance than JSON.NET (Newtonsoft). It also has better support for deserialization into a variable or field of type dynamic.

Encryption
XSerializer's XML and JSON serializers support the concept of field-level encryption.

Properties that are decorated with an [Encrypt] attribute have their values encrypted/decrypted automatically. The actual mechanism to encrypt these fields is exposed through the IEncryptionMechanism interface - users of the encrypt feature are expected to implement this interface in their project.

Info

Version: 0.4.1
Author(s): Brian Friesen
Last Update: Monday, April 30, 2018
.NET Fiddle:
Project Url: https://github.com/QuickenLoans/XSerializer
NuGet Url: https://www.nuget.org/packages/XSerializer


Install
Install-Package XSerializer
dotnet add package Z.EntityFramework.Plus.EF6
paket add XSerializer
XSerializer Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0
  • No dependencies.
.NETStandard 2.0 5 packages depend on this package.


Tags



STATS

must-have-score

5.5

avg-downloads-per-day

19

days-since-last-release

20