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" />
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 |
.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 |
-
.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. |
|
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 | 28,294 | 4/30/2021 |
0.4.3 | 221 | 4/29/2021 |
0.4.2 | 249,012 | 6/1/2018 |
0.4.1 | 1,966 | 4/30/2018 |
0.4.0 | 971 | 4/19/2018 |
0.3.8 | 32,599 | 1/6/2017 |
0.3.7 | 12,814 | 10/17/2016 |
0.3.5 | 8,462 | 4/26/2016 |
0.3.4 | 6,397 | 3/18/2016 |
0.3.3 | 4,903 | 2/13/2016 |
0.3.2 | 10,776 | 12/10/2015 |
0.3.1 | 1,041 | 11/20/2015 |
0.3.0 | 37,808 | 11/11/2015 |
0.2.4 | 1,100 | 10/20/2015 |
0.2.3 | 3,946 | 9/8/2015 |
0.2.2 | 1,719 | 7/6/2015 |
0.2.1 | 5,546 | 6/4/2015 |
0.2.0 | 914 | 5/18/2015 |
0.1.28 | 1,636 | 4/10/2015 |
0.1.27 | 1,689 | 1/22/2015 |
0.1.26 | 888 | 1/22/2015 |
0.1.25 | 4,005 | 12/16/2014 |
0.1.24 | 1,285 | 10/27/2014 |
0.1.23 | 1,099 | 10/3/2014 |
0.1.22 | 1,187 | 9/23/2014 |
0.1.21 | 1,156 | 9/17/2014 |
0.1.20 | 1,184 | 9/15/2014 |
0.1.19 | 1,269 | 8/28/2014 |
0.1.18 | 2,013 | 8/21/2014 |
0.1.17 | 978 | 8/8/2014 |
0.1.16 | 916 | 7/29/2014 |
0.1.15 | 980 | 6/23/2014 |
0.1.14 | 907 | 6/19/2014 |
0.1.13 | 916 | 6/13/2014 |
0.1.12 | 977 | 5/16/2014 |
0.1.11 | 904 | 5/13/2014 |
0.1.10 | 901 | 4/29/2014 |
0.1.9 | 2,176 | 6/14/2013 |
0.1.8 | 1,046 | 5/21/2013 |
0.1.7 | 990 | 5/13/2013 |
0.1.7-alpha | 863 | 5/7/2013 |
0.1.6 | 1,013 | 4/20/2013 |
0.1.5 | 947 | 4/20/2013 |
0.1.4 | 953 | 4/18/2013 |
0.1.3 | 981 | 4/18/2013 |
0.1.2 | 990 | 3/28/2013 |
0.1.1 | 999 | 3/25/2013 |
0.1.0 | 987 | 3/24/2013 |
0.0.4 | 1,036 | 3/18/2013 |
0.0.3 | 1,035 | 3/18/2013 |
Fixed bug where XmlText elements with CDATA values were not picked up.