Serde 0.11.0

dotnet add package Serde --version 0.11.0
                    
NuGet\Install-Package Serde -Version 0.11.0
                    
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="Serde" Version="0.11.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Serde" Version="0.11.0" />
                    
Directory.Packages.props
<PackageReference Include="Serde" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Serde --version 0.11.0
                    
#r "nuget: Serde, 0.11.0"
                    
#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.
#:package Serde@0.11.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Serde&version=0.11.0
                    
Install as a Cake Addin
#tool nuget:?package=Serde&version=0.11.0
                    
Install as a Cake Tool

Serde-dn

Serde-dn is a port of the popular serde.rs Rust serialization/deserialization library to .NET.

It is a multi-format serialization provider, meaning that it can support multiple output formats.

This package contains the core Serde library and support for JSON. Additional NuGet packages can provide support for additional formats.

Getting started

You can now use the [GenerateSerialize] and [GenerateDeserialize] attributes to automatically implement serialization and deserialization for your own types. Don't forget to mark them partial!

using Serde;
using Serde.Json;

string output = JsonSerializer.Serialize(new SampleClass());

// prints: {"X":3,"Y":"sample"}
Console.WriteLine(output);

var deserialized = JsonSerializer.Deserialize<SampleClass>(output);

// prints SampleClass { X = 3, Y = sample }
Console.WriteLine(deserialized);

[GenerateSerialize, GenerateDeserialize]
partial record SampleClass
{
    // automatically includes public properties and fields
    public int X { get; init; } = 3;
    public string Y = "sample";
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Serde:

Package Downloads
StaticCs.Collections

Package Description

Serde.CmdLine

Package Description

Serde.Xml

XML serialization backend for Serde

Serde.MsgPack

Package Description

Serde.Cbor

CBOR (RFC 8949) serialization and deserialization for .NET, built on the Serde framework.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Serde:

Repository Stars
dn-vm/dnvm
dnvm is a command-line interface for installing and updating different dotnet SDKs
Version Downloads Last Updated
0.11.0 0 6/5/2026
0.10.2 518 2/8/2026
0.10.1 538 1/29/2026
0.10.0 1,042 1/7/2026
0.9.1 1,095 10/28/2025
0.9.0 750 10/27/2025
0.8.0 2,855 6/10/2025
0.8.0-preview9 301 5/14/2025
0.8.0-preview8 505 4/27/2025
0.8.0-preview7 265 4/23/2025
0.8.0-preview6 271 4/16/2025
0.8.0-preview5 576 4/4/2025
0.8.0-preview4 321 1/19/2025
0.8.0-preview3 171 1/5/2025
0.8.0-preview2 331 12/17/2024
0.8.0-preview1 307 12/15/2024
0.7.1 757 12/4/2024
0.7.0 727 11/16/2024
0.7.0-preview2 293 7/31/2024
Loading failed