Hexarc.Serialization.Union 3.0.1

.NET 7.0
dotnet add package Hexarc.Serialization.Union --version 3.0.1
NuGet\Install-Package Hexarc.Serialization.Union -Version 3.0.1
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="Hexarc.Serialization.Union" Version="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hexarc.Serialization.Union --version 3.0.1
#r "nuget: Hexarc.Serialization.Union, 3.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hexarc.Serialization.Union as a Cake Addin
#addin nuget:?package=Hexarc.Serialization.Union&version=3.0.1

// Install Hexarc.Serialization.Union as a Cake Tool
#tool nuget:?package=Hexarc.Serialization.Union&version=3.0.1

This package helps to serialize .NET/C# classes hierarchy as a tagged union (also known as a discriminated union).

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Hexarc.Serialization.Union:

Package Downloads

Middleware to generate and expose Hexarc Pact protocols for .NET Web API projects.


The Hexarc Pact protocol models and infrastructure for the type system and API endpoint contracts.


An HTTP client library that powers the Hexarc API generation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 493 4/23/2023
3.0.0 677 12/6/2022
2.0.1 8,343 2/3/2022
2.0.0 560 11/8/2021
1.0.3 1,302 2/21/2021
1.0.2 279 2/21/2021
1.0.1 272 2/21/2021
1.0.0 3,039 2/10/2021