XSerializer 0.4.3

.NET Standard 2.0 .NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
Install-Package XSerializer -Version 0.4.3
dotnet add package XSerializer --version 0.4.3
<PackageReference Include="XSerializer" Version="0.4.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XSerializer --version 0.4.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XSerializer, 0.4.3"
#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.3

// Install XSerializer as a Cake Tool
#tool nuget:?package=XSerializer&version=0.4.3
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.

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
.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.

XSerializer.WebApi

Enables WebApi projects to use XSerializer for its xml serialization.

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.4 27,647 4/30/2021
0.4.3 218 4/29/2021
0.4.2 248,444 6/1/2018
0.4.1 1,964 4/30/2018
0.4.0 969 4/19/2018
0.3.8 32,572 1/6/2017
0.3.7 12,806 10/17/2016
0.3.5 8,445 4/26/2016
0.3.4 6,395 3/18/2016
0.3.3 4,901 2/13/2016
0.3.2 10,694 12/10/2015
0.3.1 1,039 11/20/2015
0.3.0 37,793 11/11/2015
0.2.4 1,098 10/20/2015
0.2.3 3,944 9/8/2015
0.2.2 1,717 7/6/2015
0.2.1 5,538 6/4/2015
0.2.0 912 5/18/2015
0.1.28 1,634 4/10/2015
0.1.27 1,687 1/22/2015
0.1.26 886 1/22/2015
0.1.25 3,997 12/16/2014
0.1.24 1,283 10/27/2014
0.1.23 1,097 10/3/2014
0.1.22 1,185 9/23/2014
0.1.21 1,154 9/17/2014
0.1.20 1,182 9/15/2014
0.1.19 1,267 8/28/2014
0.1.18 2,009 8/21/2014
0.1.17 976 8/8/2014
0.1.16 914 7/29/2014
0.1.15 978 6/23/2014
0.1.14 905 6/19/2014
0.1.13 914 6/13/2014
0.1.12 975 5/16/2014
0.1.11 902 5/13/2014
0.1.10 899 4/29/2014
0.1.9 2,170 6/14/2013
0.1.8 1,044 5/21/2013
0.1.7 988 5/13/2013
0.1.7-alpha 861 5/7/2013
0.1.6 1,011 4/20/2013
0.1.5 945 4/20/2013
0.1.4 951 4/18/2013
0.1.3 979 4/18/2013
0.1.2 988 3/28/2013
0.1.1 997 3/25/2013
0.1.0 985 3/24/2013
0.0.4 1,033 3/18/2013
0.0.3 1,032 3/18/2013

Adds SourceLink