.NET Core 2.0 .NET Standard 2.0 .NET Framework 3.5
dotnet add package UniversalSerializer --version
NuGet\Install-Package UniversalSerializer -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UniversalSerializer" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UniversalSerializer --version
#r "nuget: UniversalSerializer,"
#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 UniversalSerializer as a Cake Addin
#addin nuget:?package=UniversalSerializer&version=

// Install UniversalSerializer as a Cake Tool
#tool nuget:?package=UniversalSerializer&version=

UniversalSerializer is a data serialization library for .NET/.NET Core/.NET Standard/UWP (Universal Windows)/Mono/Xamarin/Silverlight on Windows, Linux, macOS, Android and iOS.

In other words, it saves and loads complex object values/instances to and from a file (or any) stream. The stream format can be binary, JSON, or XML.

This is the main package that contains 8 libraries.

The ability to serialize any type is its vocation.
It is free and open-source.

You will find more information on the website.

The original article is available on CodeProject.

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 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Silverlight sl5
Tizen tizen40 tizen60
Universal Windows Platform uap uap10.0
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.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on UniversalSerializer:

Package Downloads

The specific libraries for WPF. This package needs the main UniversalSerializer package.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 2,058 4/20/2018 843 4/19/2018 818 4/19/2018

The specific DLLs for WPF and Windows Forms are not in this package anymore. They have their own package now: UniversalSerializer.WPF and UniversalSerializer.Windows.Forms.