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 When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
6.2B
6,245,760,167
Published
Jan 12, 2021
Latest stable version

Install

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

Frameworks

MonoAndroid1.0 MonoTouch1.0 .NETFramework4.6.1 .NETCoreApp2.0 .NETCoreApp2.1 .NETCoreApp3.0 .NETStandard2.0 UAP10.0.16299 Xamarin.iOS1.0 Xamarin.Mac2.0 Xamarin.TVOS1.0 Xamarin.WatchOS1.0

Dependencies

[5.0.0, )
System.Buffers
MonoAndroid1.0
[4.5.1, )
[5.0.0, )
[5.0.0, )
System.Buffers
MonoTouch1.0
[4.5.1, )
[5.0.0, )
[5.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, )
[5.0.0, )
System.Text.Encodings.Web
.NETFramework4.6.1
[5.0.0, )
[4.5.4, )
System.ValueTuple
.NETFramework4.6.1
[4.5.0, )
[5.0.0, )
System.Memory
.NETCoreApp2.0
[4.5.4, )
[5.0.0, )
[4.5.4, )
[5.0.0, )
[5.0.0, )
[5.0.0, )
System.Buffers
.NETStandard2.0
[4.5.1, )
System.Memory
.NETStandard2.0
[4.5.4, )
[4.5.0, )
[5.0.0, )
[4.5.4, )
[5.0.0, )
System.Memory
UAP10.0.16299
[4.5.4, )
[5.0.0, )
[4.5.4, )
[5.0.0, )
System.Buffers
Xamarin.iOS1.0
[4.5.1, )
[5.0.0, )
[5.0.0, )
System.Buffers
Xamarin.Mac2.0
[4.5.1, )
[5.0.0, )
[5.0.0, )
System.Buffers
Xamarin.TVOS1.0
[4.5.1, )
[5.0.0, )
[5.0.0, )
System.Buffers
Xamarin.WatchOS1.0
[4.5.1, )
[5.0.0, )
System.Text.Encodings.Web
Xamarin.WatchOS1.0
[5.0.0, )

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 12 target frameworks; confirm the exact target used by your application.

The published metadata declares 52 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.