# system.text.json

System.Text.Json is a .NET namespace and library for serializing and deserializing JSON, designed for high performance and low memory allocation.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Announcing .NET 11

DevFeed: [Announcing .NET 11](<https://devfeed.tech/articles/announcing-net-11-127116.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/announcing-dotnet-11/>)

Author: .NET Team

Published: 2026-11-10T16:11:00Z

Content type: release

Language: en

Sources: [.NET Blog](<https://devfeed.tech/sources/net-blog.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>), [.NET MAUI](<https://devfeed.tech/topics/net-maui.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Microsoft.Extensions.AI](<https://devfeed.tech/topics/microsoft-extensions-ai.md>), [efcore](<https://devfeed.tech/topics/efcore.md>), [system.text.json](<https://devfeed.tech/topics/system-text-json.md>), [WinForms](<https://devfeed.tech/topics/winforms.md>), [WPF](<https://devfeed.tech/topics/wpf.md>), [.NET Conf](<https://devfeed.tech/topics/net-conf.md>)

Tags: [ag-ui](<https://devfeed.tech/tags/ag-ui.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-apps](<https://devfeed.tech/tags/ai-apps.md>), [apps](<https://devfeed.tech/tags/apps.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [blazor](<https://devfeed.tech/tags/blazor.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [c-sharp-15](<https://devfeed.tech/tags/c-sharp-15.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [entity-framework](<https://devfeed.tech/tags/entity-framework.md>), [f-sharp](<https://devfeed.tech/tags/f-sharp.md>), [faster](<https://devfeed.tech/tags/faster.md>), [featured](<https://devfeed.tech/tags/featured.md>), [featured-post](<https://devfeed.tech/tags/featured-post.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [library](<https://devfeed.tech/tags/library.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-conf](<https://devfeed.tech/tags/net-conf.md>), [net-maui](<https://devfeed.tech/tags/net-maui.md>), [net-sdk](<https://devfeed.tech/tags/net-sdk.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [performance](<https://devfeed.tech/tags/performance.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [tools](<https://devfeed.tech/tags/tools.md>), [web](<https://devfeed.tech/tags/web.md>), [winforms](<https://devfeed.tech/tags/winforms.md>), [wpf](<https://devfeed.tech/tags/wpf.md>)

### AI overview

.NET 11 introduces C# 15 union types and closed hierarchies, SDK and runtime performance improvements, and updates across web, mobile, desktop, AI, and libraries. The SDK's Native AOT CLI host and warm MSBuild server reduce startup overhead; runtime optimizations affect generated code, though performance gains depend on workload. New capabilities include ASP.NET Core asynchronous validation and OpenAPI 3.2, MAUI's CoreCLR default, Zstandard compression, and richer JSON support. Several features remain preview, experimental, or prerelease, including Runtime Async, MAUI XAML Incremental Hot Reload, Android Native AOT, and Blazor AI components. .NET 11 has two years of support; .NET 10 remains a supported LTS option. Upgrading requires retargeting projects, updating compatible packages and workloads, reviewing breaking changes and minimum CPU requirements, then testing and measuring under representative conditions.

### Source excerpt

.NET 11 is here with C# 15, faster developer tools, runtime and library improvements, and new capabilities for web, mobile, desktop, and AI apps. The post Announcing .NET 11 appeared first on .NET Blog.

## The pain of serializing unions and closed class hierarchies with System.Text.Json: Exploring the .NET 11 preview - Part 7

DevFeed: [The pain of serializing unions and closed class hierarchies with System.Text.Json: Exploring the .NET 11 preview - Part 7](<https://devfeed.tech/articles/the-pain-of-serializing-unions-and-closed-class-hierarchies-with-system-text-json-exploring-the-net-11-preview-part-7-51479.md>)

Original publisher: [Read original article](<https://andrewlock.net/exploring-the-dotnet-11-preview-7-the-pain-of-serializing-unions-and-closed-class-hierarchies-with-system-text-json/>)

Author: Andrew Lock

Published: 2026-09-01T10:00:00Z

Content type: tutorial

Language: en

Sources: [Andrew Lock | .NET Escapades](<https://devfeed.tech/sources/andrew-lock-net-escapades.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [system.text.json](<https://devfeed.tech/topics/system-text-json.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Closed hierarchies](<https://devfeed.tech/topics/closed-hierarchies.md>), [JSON](<https://devfeed.tech/topics/json.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [c-sharp-15](<https://devfeed.tech/tags/c-sharp-15.md>), [closed-hierarchies](<https://devfeed.tech/tags/closed-hierarchies.md>), [json](<https://devfeed.tech/tags/json.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-c-sharp](<https://devfeed.tech/tags/net-11-c-sharp.md>), [net-11-preview-7](<https://devfeed.tech/tags/net-11-preview-7.md>), [preview](<https://devfeed.tech/tags/preview.md>), [rust](<https://devfeed.tech/tags/rust.md>), [system-text-json](<https://devfeed.tech/tags/system-text-json.md>)

### AI overview

This tutorial examines how System.Text.Json handles union types and closed class hierarchies introduced in .NET 11 and C# 15. It compares the two approaches, demonstrates serialization and deserialization, and documents errors and compatibility edge cases encountered in .NET 11 Preview 7.

### Source excerpt

In this post I discuss the System.Text.Json support for unions and closed hierarchies coming in .NET 11, the decisions made, and some of the sharp edges I hit