XSerializer - Serialize *anything* NuGet Package

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.




Got any XSerializer - Serialize *anything* Question?





Info

Version: 0.4.4
Author(s): Brian Friesen
Last Update: Friday, April 30, 2021
.NET Fiddle: Online Example
Project Url: https://github.com/QuickenLoans/XSerializer
NuGet Url: https://www.nuget.org/packages/XSerializer


Install
Install-Package XSerializer
dotnet add package XSerializer
paket add XSerializer
XSerializer Download (Unzip the "nupkg" after downloading)

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


Tags



STATS

must-have-score

5.3

avg-downloads-per-day

75

days-since-last-release

1331