XSerializer 0.4.4
dotnet add package XSerializer --version 0.4.4
NuGet\Install-Package XSerializer -Version 0.4.4
<PackageReference Include="XSerializer" Version="0.4.4" />
paket add XSerializer --version 0.4.4
#r "nuget: XSerializer, 0.4.4"
// 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 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.4.0)
- System.Xml.XmlSerializer (>= 4.3.0)
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. |
|
RockLib.Serialization.XSerializer
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 | 40,247 | 4/30/2021 |
0.4.3 | 309 | 4/29/2021 |
0.4.2 | 258,782 | 6/1/2018 |
0.4.1 | 2,108 | 4/30/2018 |
0.4.0 | 1,108 | 4/19/2018 |
0.3.8 | 33,491 | 1/6/2017 |
0.3.7 | 13,064 | 10/17/2016 |
0.3.5 | 8,742 | 4/26/2016 |
0.3.4 | 6,519 | 3/18/2016 |
0.3.3 | 5,042 | 2/13/2016 |
0.3.2 | 11,991 | 12/10/2015 |
0.3.1 | 1,147 | 11/20/2015 |
0.3.0 | 38,071 | 11/11/2015 |
0.2.4 | 1,211 | 10/20/2015 |
0.2.3 | 4,103 | 9/8/2015 |
0.2.2 | 1,832 | 7/6/2015 |
0.2.1 | 5,706 | 6/4/2015 |
0.2.0 | 1,018 | 5/18/2015 |
0.1.28 | 2,263 | 4/10/2015 |
0.1.27 | 1,841 | 1/22/2015 |
0.1.26 | 998 | 1/22/2015 |
0.1.25 | 4,137 | 12/16/2014 |
0.1.24 | 1,396 | 10/27/2014 |
0.1.23 | 1,209 | 10/3/2014 |
0.1.22 | 1,294 | 9/23/2014 |
0.1.21 | 1,265 | 9/17/2014 |
0.1.20 | 1,289 | 9/15/2014 |
0.1.19 | 1,512 | 8/28/2014 |
0.1.18 | 2,338 | 8/21/2014 |
0.1.17 | 1,087 | 8/8/2014 |
0.1.16 | 1,021 | 7/29/2014 |
0.1.15 | 1,083 | 6/23/2014 |
0.1.14 | 1,017 | 6/19/2014 |
0.1.13 | 1,027 | 6/13/2014 |
0.1.12 | 1,088 | 5/16/2014 |
0.1.11 | 1,013 | 5/13/2014 |
0.1.10 | 1,011 | 4/29/2014 |
0.1.9 | 2,481 | 6/14/2013 |
0.1.8 | 1,163 | 5/21/2013 |
0.1.7 | 1,107 | 5/13/2013 |
0.1.7-alpha | 905 | 5/7/2013 |
0.1.6 | 1,128 | 4/20/2013 |
0.1.5 | 1,065 | 4/20/2013 |
0.1.4 | 1,070 | 4/18/2013 |
0.1.3 | 1,096 | 4/18/2013 |
0.1.2 | 1,109 | 3/28/2013 |
0.1.1 | 1,114 | 3/25/2013 |
0.1.0 | 1,103 | 3/24/2013 |
0.0.4 | 1,154 | 3/18/2013 |
0.0.3 | 1,148 | 3/18/2013 |
Fixed bug where XmlText elements with CDATA values were not picked up.