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/6707c95a83b7c82b5664aa2beb70cf539eb98da4
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/4aa8dd07fdb10dca5192bbb6f429ae8f00c6ca4b

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.4.2 72,189 6/1/2018
0.4.1 1,263 4/30/2018
0.4.0 457 4/19/2018
0.3.8 23,118 1/6/2017
0.3.7 9,836 10/17/2016
0.3.5 6,434 4/26/2016
0.3.4 4,472 3/18/2016
0.3.3 2,689 2/13/2016
0.3.2 6,734 12/10/2015
0.3.1 566 11/20/2015
0.3.0 28,779 11/11/2015
0.2.4 711 10/20/2015
0.2.3 2,832 9/8/2015
0.2.2 926 7/6/2015
0.2.1 4,097 6/4/2015
0.2.0 525 5/18/2015
0.1.28 1,090 4/10/2015
0.1.27 1,149 1/22/2015
0.1.26 478 1/22/2015
0.1.25 2,306 12/16/2014
0.1.24 823 10/27/2014
0.1.23 683 10/3/2014
0.1.22 788 9/23/2014
0.1.21 740 9/17/2014
0.1.20 781 9/15/2014
0.1.19 631 8/28/2014
0.1.18 1,305 8/21/2014
0.1.17 561 8/8/2014
0.1.16 497 7/29/2014
0.1.15 521 6/23/2014
0.1.14 488 6/19/2014
0.1.13 490 6/13/2014
0.1.12 580 5/16/2014
0.1.11 505 5/13/2014
0.1.10 493 4/29/2014
0.1.9 1,016 6/14/2013
0.1.8 606 5/21/2013
0.1.7 564 5/13/2013
0.1.7-alpha 497 5/7/2013
0.1.6 581 4/20/2013
0.1.5 548 4/20/2013
0.1.4 533 4/18/2013
0.1.3 566 4/18/2013
0.1.2 583 3/28/2013
0.1.1 567 3/25/2013
0.1.0 571 3/24/2013
0.0.4 628 3/18/2013
0.0.3 619 3/18/2013