Skip to main content
.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
Jun 11, 2024
2y ago
Total Downloads
6.4B
6,428,647,531

Install

dotnet add package System.Text.Json --version 9.0.0-preview.5.24306.7
ProductVersions
.NET
net8.0net9.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

README

Changes from Previous Version

v9.0.0-preview.4.24266.19v9.0.0-preview.5.24306.7
Added Dependencies
System.IO.Pipelines(.NETFramework4.6.2)
System.IO.Pipelines(.NETStandard2.0)

Adoption Assessment

New .NET applications that target modern runtimes and can use its supported serializer model.

JSON Guide
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 19 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.