.NETFramework4.6.2net8.0net9.0.NETStandard2.0
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 package can be installed when you need to use it in other target frameworks.
Published
Mar 11, 2025
1y ago
Total Downloads
6.6B
6,560,233,933
Install
dotnet add package System.Text.Json --version 9.0.3
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
Changes from Previous Version
No structural changes between v9.0.2 and v9.0.3.
Adoption Assessment
New .NET applications that target modern runtimes and can use its supported serializer model.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 17 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Editorial Note: The JSON stack built into modern .NET, with source generation and a low-allocation design. Trade-off: Check behavior differences before migrating Newtonsoft.Json attributes, converters or reference handling.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.