XSerializer 0.4.2

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.

Install-Package XSerializer -Version 0.4.2
dotnet add package XSerializer --version 0.4.2
<PackageReference Include="XSerializer" Version="0.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XSerializer --version 0.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

XSerializer version 0.4.2

Fixed a bug where an exception was thrown when a property was marked with the [Encrypt] attribute, but the corresponding json value during a derialization operation was a null literal.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on XSerializer:

Package Downloads
RockLib.Encryption.XSerializer
Extension to RockLib.Encryption - allows properties marked with the [Encrypt] attribute to be encrypted during an XSerializer serialization operation. This package was built from the source code at https://github.com/RockLib/RockLib.Encryption/tree/872b2909fa3ccb188934a01e8d95418dfbabef74
Rock.Encryption.XSerializer
Extension to Rock.Encryption - allows properties marked with the [Encrypt] attribute to be encrypted during an XSerializer serialization operation.
Rock.Core.XSerializer
Core classes that use the XSerializer serialization library.
XSerializer.WebApi
Enables WebApi projects to use XSerializer for its xml serialization.
RockLib.Serialization.XSerializer
An XSerializer implmentation of the RockLib.Serialization.ISerializer. This package was built from the source code at https://github.com/RockLib/RockLib.Serialization/tree/master/RockLib.Serialization/tree/d6fe1b648a7ff41828d171bab7b8de066ce19892

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.4.2 85,106 6/1/2018
0.4.1 1,310 4/30/2018
0.4.0 477 4/19/2018
0.3.8 24,721 1/6/2017
0.3.7 10,021 10/17/2016
0.3.5 6,529 4/26/2016
0.3.4 4,824 3/18/2016
0.3.3 3,087 2/13/2016
0.3.2 7,247 12/10/2015
0.3.1 589 11/20/2015
0.3.0 30,261 11/11/2015
0.2.4 732 10/20/2015
0.2.3 2,948 9/8/2015
0.2.2 1,003 7/6/2015
0.2.1 4,255 6/4/2015
0.2.0 546 5/18/2015
0.1.28 1,122 4/10/2015
0.1.27 1,182 1/22/2015
0.1.26 499 1/22/2015
0.1.25 2,459 12/16/2014
0.1.24 844 10/27/2014
0.1.23 707 10/3/2014
0.1.22 809 9/23/2014
0.1.21 761 9/17/2014
0.1.20 802 9/15/2014
0.1.19 652 8/28/2014
0.1.18 1,328 8/21/2014
0.1.17 584 8/8/2014
0.1.16 518 7/29/2014
0.1.15 542 6/23/2014
0.1.14 509 6/19/2014
0.1.13 513 6/13/2014
0.1.12 601 5/16/2014
0.1.11 526 5/13/2014
0.1.10 514 4/29/2014
0.1.9 1,082 6/14/2013
0.1.8 627 5/21/2013
0.1.7 585 5/13/2013
0.1.7-alpha 519 5/7/2013
0.1.6 603 4/20/2013
0.1.5 569 4/20/2013
0.1.4 555 4/18/2013
0.1.3 587 4/18/2013
0.1.2 604 3/28/2013
0.1.1 588 3/25/2013
0.1.0 593 3/24/2013
0.0.4 649 3/18/2013
0.0.3 640 3/18/2013