XSerializer 0.4.1

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package XSerializer -Version 0.4.1
dotnet add package XSerializer --version 0.4.1
<PackageReference Include="XSerializer" Version="0.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XSerializer --version 0.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

XSerializer version 0.4.1
   
When deserializing into a class that has properties marked with [Encrypt], handle (and test for) the case where the property value is not actually encrypted. Whether a value is encrypted or plain-text is determined implicitly by the encryption mechanism. If its Decrypt method returns the same value passed to it, the value is assumed to be plain-text.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.4.2 68,250 6/1/2018
0.4.1 1,257 4/30/2018
0.4.0 453 4/19/2018
0.3.8 22,491 1/6/2017
0.3.7 9,681 10/17/2016
0.3.5 6,380 4/26/2016
0.3.4 4,365 3/18/2016
0.3.3 2,510 2/13/2016
0.3.2 6,589 12/10/2015
0.3.1 563 11/20/2015
0.3.0 28,188 11/11/2015
0.2.4 705 10/20/2015
0.2.3 2,794 9/8/2015
0.2.2 920 7/6/2015
0.2.1 4,055 6/4/2015
0.2.0 522 5/18/2015
0.1.28 1,084 4/10/2015
0.1.27 1,146 1/22/2015
0.1.26 474 1/22/2015
0.1.25 2,260 12/16/2014
0.1.24 819 10/27/2014
0.1.23 679 10/3/2014
0.1.22 783 9/23/2014
0.1.21 736 9/17/2014
0.1.20 778 9/15/2014
0.1.19 628 8/28/2014
0.1.18 1,299 8/21/2014
0.1.17 558 8/8/2014
0.1.16 493 7/29/2014
0.1.15 517 6/23/2014
0.1.14 485 6/19/2014
0.1.13 487 6/13/2014
0.1.12 576 5/16/2014
0.1.11 501 5/13/2014
0.1.10 490 4/29/2014
0.1.9 995 6/14/2013
0.1.8 603 5/21/2013
0.1.7 561 5/13/2013
0.1.7-alpha 495 5/7/2013
0.1.6 578 4/20/2013
0.1.5 543 4/20/2013
0.1.4 530 4/18/2013
0.1.3 563 4/18/2013
0.1.2 580 3/28/2013
0.1.1 562 3/25/2013
0.1.0 567 3/24/2013
0.0.4 625 3/18/2013
0.0.3 616 3/18/2013