Skip to main content
XSerializer package icon

XSerializer

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.

Total Downloads
904.1K
904,123
Published
Apr 29, 2021
Latest stable version

Install

.NET CLI
dotnet add package XSerializer --version 0.4.3
Package Manager Console
Install-Package XSerializer -Version 0.4.3
PackageReference
<PackageReference Include="XSerializer" Version="0.4.3" />

Frameworks

.NETFramework4.0 .NETStandard2.0

Dependencies

Microsoft.CSharp
.NETStandard2.0
[4.4.0, )
[4.3.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.