Skip to main content
.NETFramework4.6.2net6.0net7.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. Commonly Used Types: System.Text.Json.JsonSerializer System.Text.Json.JsonDocument System.Text.Json.JsonElement System.Text.Json.Utf8JsonWriter System.Text.Json.Utf8JsonReader System.Text.Json.Nodes.JsonNode System.Text.Json.Nodes.JsonArray System.Text.Json.Nodes.JsonObject System.Text.Json.Nodes.JsonValue

Published
Feb 17, 2022
4y ago
Total Downloads
6.6B
6,571,735,295

Install

dotnet add package System.Text.Json --version 7.0.0-preview.1.22076.8
ProductVersions
.NET
net6.0net7.0
.NET Standard
netstandard2.0
Other
.NETFramework4.6.2

Changes from Previous Version

v6.0.11v7.0.0-preview.1.22076.8
Added Frameworks
.NETFramework4.6.2net7.0
Removed Frameworks
.NETFramework4.6.1.NETCoreApp3.1
Removed Dependencies
Microsoft.Bcl.AsyncInterfaces(.NETFramework4.6.1)
System.Text.Encodings.Web(.NETFramework4.6.1)
System.Buffers(.NETFramework4.6.1)
System.Memory(.NETFramework4.6.1)
System.Numerics.Vectors(.NETFramework4.6.1)
System.ValueTuple(.NETFramework4.6.1)
Deprecation Removed
Deprecation notice was removed in this version.

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.