XSerializer 0.4.4

Install-Package XSerializer -Version 0.4.4
dotnet add package XSerializer --version 0.4.4
<PackageReference Include="XSerializer" Version="0.4.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XSerializer --version 0.4.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XSerializer, 0.4.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install XSerializer as a Cake Addin
#addin nuget:?package=XSerializer&version=0.4.4

// Install XSerializer as a Cake Tool
#tool nuget:?package=XSerializer&version=0.4.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages (6)

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.

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.4 1,967 4/30/2021
0.4.3 109 4/29/2021
0.4.2 193,010 6/1/2018
0.4.1 1,639 4/30/2018
0.4.0 728 4/19/2018
0.3.8 30,743 1/6/2017
0.3.7 12,181 10/17/2016
0.3.5 7,702 4/26/2016
0.3.4 5,925 3/18/2016
0.3.3 4,532 2/13/2016
0.3.2 9,192 12/10/2015
0.3.1 818 11/20/2015
0.3.0 35,948 11/11/2015
0.2.4 940 10/20/2015
0.2.3 3,613 9/8/2015
0.2.2 1,442 7/6/2015
0.2.1 5,081 6/4/2015
0.2.0 749 5/18/2015
0.1.28 1,378 4/10/2015
0.1.27 1,481 1/22/2015
0.1.26 716 1/22/2015
0.1.25 3,302 12/16/2014
0.1.24 1,062 10/27/2014
0.1.23 929 10/3/2014
0.1.22 1,024 9/23/2014
0.1.21 982 9/17/2014
0.1.20 1,017 9/15/2014
0.1.19 996 8/28/2014
0.1.18 1,700 8/21/2014
0.1.17 804 8/8/2014
0.1.16 749 7/29/2014
0.1.15 769 6/23/2014
0.1.14 727 6/19/2014
0.1.13 735 6/13/2014
0.1.12 819 5/16/2014
0.1.11 749 5/13/2014
0.1.10 738 4/29/2014
0.1.9 1,644 6/14/2013
0.1.8 854 5/21/2013
0.1.7 811 5/13/2013
0.1.7-alpha 727 5/7/2013
0.1.6 831 4/20/2013
0.1.5 788 4/20/2013
0.1.4 778 4/18/2013
0.1.3 813 4/18/2013
0.1.2 825 3/28/2013
0.1.1 820 3/25/2013
0.1.0 815 3/24/2013
0.0.4 866 3/18/2013
0.0.3 861 3/18/2013

Fixed bug where XmlText elements with CDATA values were not picked up.