Skip to main content
System.Text.JSON package icon

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. Commonly Used Types: System.Text.Json.JsonSerializer System.Text.Json.JsonDocument System.Text.Json.JsonElement System.Text.Json.Utf8JsonWriter System.Text.Json.Utf8JsonReader

Total Downloads
6.2B
6,245,760,167
Published
Oct 8, 2024
Latest stable version

Install

.NET CLI
dotnet add package System.Text.JSON --version 6.0.10
Package Manager Console
Install-Package System.Text.JSON -Version 6.0.10
PackageReference
<PackageReference Include="System.Text.JSON" Version="6.0.10" />

Frameworks

.NETFramework4.6.1 .NETCoreApp3.1 net6.0 .NETStandard2.0

Dependencies

[6.0.0, )
[6.0.0, )
System.Text.Encodings.Web
.NETFramework4.6.1
[6.0.0, )
System.Buffers
.NETFramework4.6.1
[4.5.1, )
System.Memory
.NETFramework4.6.1
[4.5.4, )
System.Numerics.Vectors
.NETFramework4.6.1
[4.5.0, )
[4.5.4, )
System.ValueTuple
.NETFramework4.6.1
[4.5.0, )
[6.0.0, )
[6.0.0, )
[6.0.0, )
System.Buffers
.NETStandard2.0
[4.5.1, )
System.Memory
.NETStandard2.0
[4.5.4, )
[4.5.0, )
[4.5.4, )

Adoption guide

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

JSON guide
Why it appears in the guide: 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.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

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.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.