Install
System.Text.Json
Provides high-performance and low-allocating types that serialize objects to JavaScript Object Notation (JSON) text and deserialize JSON text to objects, with UTF-8 support built-in. Also provides types to read and write JSON text encoded as UTF-8, and to create an in-memory document object model (DOM), that is read-only, for random access of the JSON elements within a structured view of the data. The System.Text.Json library is built-in as part of the shared framework in .NET Runtime. The pack
11.0.0Latest, 10 Nov 2026
6.8BDownloads, all time
0Advisories on the latest
3Advisories, all versions
MITLicence
1.3KStars
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | Microsoft Security Advisory CVE-2026-120796 - .NET Denial of Service Vulnerability CVE-2026-120796 | Fixed in 11.0.0 | 10 Nov 2026 |
| High | Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability CVE-2024-43485 | Fixed in 8.0.5, 6.0.10 | 8 Oct 2024 |
| High | Microsoft Security Advisory CVE-2024-30105 | .NET Denial of Service Vulnerability CVE-2024-30105 | Fixed in 8.0.4 | 9 Jul 2024 |
In the news
- Build a Six Kalmas Flashcard CLI in C# (.NET 8) with System.Text.Json, Offline Cache and 9 Languages dev.to, 27 Nov 2026
- System.Text.Json Polymorphism with Swagger in .NET 7 medium.com, 15 Sep 2026
- How to convert Newton Json ReferenceLoopHandling to System.Text.Json stackoverflow.com, 7 Mar 2025
- (CSharp) Stop System.Text.Json from changing Json Structure stackoverflow.com, 4 Feb 2025
- System.Text.Json deserialize class that implements IReadOnlyCollection stackoverflow.com, 30 Dec 2024
Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.