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 | 42,006 | 4/30/2021 |
0.4.3 | 319 | 4/29/2021 |
0.4.2 | 261,724 | 6/1/2018 |
0.4.1 | 2,126 | 4/30/2018 |
0.4.0 | 1,120 | 4/19/2018 |
0.3.8 | 33,974 | 1/6/2017 |
0.3.7 | 13,084 | 10/17/2016 |
0.3.5 | 8,815 | 4/26/2016 |
0.3.4 | 6,547 | 3/18/2016 |
0.3.3 | 5,059 | 2/13/2016 |
0.3.2 | 12,444 | 12/10/2015 |
0.3.1 | 1,158 | 11/20/2015 |
0.3.0 | 38,142 | 11/11/2015 |
0.2.4 | 1,223 | 10/20/2015 |
0.2.3 | 4,120 | 9/8/2015 |
0.2.2 | 1,847 | 7/6/2015 |
0.2.1 | 5,733 | 6/4/2015 |
0.2.0 | 1,029 | 5/18/2015 |
0.1.28 | 2,403 | 4/10/2015 |
0.1.27 | 1,853 | 1/22/2015 |
0.1.26 | 1,010 | 1/22/2015 |
0.1.25 | 4,154 | 12/16/2014 |
0.1.24 | 1,406 | 10/27/2014 |
0.1.23 | 1,219 | 10/3/2014 |
0.1.22 | 1,304 | 9/23/2014 |
0.1.21 | 1,276 | 9/17/2014 |
0.1.20 | 1,301 | 9/15/2014 |
0.1.19 | 1,524 | 8/28/2014 |
0.1.18 | 2,356 | 8/21/2014 |
0.1.17 | 1,102 | 8/8/2014 |
0.1.16 | 1,035 | 7/29/2014 |
0.1.15 | 1,097 | 6/23/2014 |
0.1.14 | 1,029 | 6/19/2014 |
0.1.13 | 1,040 | 6/13/2014 |
0.1.12 | 1,101 | 5/16/2014 |
0.1.11 | 1,026 | 5/13/2014 |
0.1.10 | 1,024 | 4/29/2014 |
0.1.9 | 2,542 | 6/14/2013 |
0.1.8 | 1,178 | 5/21/2013 |
0.1.7 | 1,121 | 5/13/2013 |
0.1.7-alpha | 920 | 5/7/2013 |
0.1.6 | 1,143 | 4/20/2013 |
0.1.5 | 1,079 | 4/20/2013 |
0.1.4 | 1,085 | 4/18/2013 |
0.1.3 | 1,110 | 4/18/2013 |
0.1.2 | 1,123 | 3/28/2013 |
0.1.1 | 1,128 | 3/25/2013 |
0.1.0 | 1,118 | 3/24/2013 |
0.0.4 | 1,169 | 3/18/2013 |
0.0.3 | 1,164 | 3/18/2013 |
Fixed bug where XmlText elements with CDATA values were not picked up.