XSerializer 0.4.4

.NET Standard 2.0 .NET Framework 4.0
dotnet add package XSerializer --version 0.4.4
NuGet\Install-Package XSerializer -Version 0.4.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#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

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on XSerializer:

Package Downloads
RockLib.Encryption.XSerializer The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

RockLib.Serialization.XSerializer The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An XSerializer implmentation of the RockLib.Serialization.ISerializer.

XSerializer.WebApi

Enables WebApi projects to use XSerializer for its xml serialization.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.4 36,171 4/30/2021
0.4.3 287 4/29/2021
0.4.2 255,736 6/1/2018
0.4.1 2,073 4/30/2018
0.4.0 1,073 4/19/2018
0.3.8 32,909 1/6/2017
0.3.7 13,017 10/17/2016
0.3.5 8,647 4/26/2016
0.3.4 6,482 3/18/2016
0.3.3 5,010 2/13/2016
0.3.2 11,605 12/10/2015
0.3.1 1,119 11/20/2015
0.3.0 38,005 11/11/2015
0.2.4 1,181 10/20/2015
0.2.3 4,069 9/8/2015
0.2.2 1,799 7/6/2015
0.2.1 5,656 6/4/2015
0.2.0 989 5/18/2015
0.1.28 2,048 4/10/2015
0.1.27 1,804 1/22/2015
0.1.26 969 1/22/2015
0.1.25 4,107 12/16/2014
0.1.24 1,367 10/27/2014
0.1.23 1,180 10/3/2014
0.1.22 1,264 9/23/2014
0.1.21 1,237 9/17/2014
0.1.20 1,260 9/15/2014
0.1.19 1,451 8/28/2014
0.1.18 2,250 8/21/2014
0.1.17 1,058 8/8/2014
0.1.16 992 7/29/2014
0.1.15 1,053 6/23/2014
0.1.14 987 6/19/2014
0.1.13 998 6/13/2014
0.1.12 1,055 5/16/2014
0.1.11 982 5/13/2014
0.1.10 981 4/29/2014
0.1.9 2,377 6/14/2013
0.1.8 1,127 5/21/2013
0.1.7 1,071 5/13/2013
0.1.7-alpha 889 5/7/2013
0.1.6 1,094 4/20/2013
0.1.5 1,031 4/20/2013
0.1.4 1,036 4/18/2013
0.1.3 1,063 4/18/2013
0.1.2 1,075 3/28/2013
0.1.1 1,079 3/25/2013
0.1.0 1,069 3/24/2013
0.0.4 1,120 3/18/2013
0.0.3 1,114 3/18/2013

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