Skip to main content

Provides a fast, non-cached, forward-only way to read UTF-8 encoded JavaScript Object Notation (JSON) text. Commonly Used Types: System.Text.Json.Utf8JsonReader System.Text.Json.Utf8JsonWriter System.Text.Json.JsonDocument When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
6.3B
6,264,483,317
Published
May 10, 2019
Latest stable version

Install

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

Frameworks

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

Dependencies

System.Buffers
MonoAndroid1.0
[4.5.0, )
[4.6.0-preview6.19259.10, )
System.Buffers
MonoTouch1.0
[4.5.0, )
[4.6.0-preview6.19259.10, )
System.Memory
.NETCoreApp2.0
[4.5.0, )
[4.6.0-preview6.19259.10, )
[4.5.1, )
[4.6.0-preview6.19259.10, )
System.Buffers
.NETStandard2.0
[4.5.0, )
System.Memory
.NETStandard2.0
[4.5.0, )
[4.5.0, )
[4.6.0-preview6.19259.10, )
[4.5.1, )
System.Memory
UAP10.0.16299
[4.5.0, )
[4.6.0-preview6.19259.10, )
[4.5.1, )
System.Buffers
Xamarin.iOS1.0
[4.5.0, )
[4.6.0-preview6.19259.10, )
System.Buffers
Xamarin.Mac2.0
[4.5.0, )
[4.6.0-preview6.19259.10, )
System.Buffers
Xamarin.TVOS1.0
[4.5.0, )
[4.6.0-preview6.19259.10, )
System.Buffers
Xamarin.WatchOS1.0
[4.5.0, )
[4.6.0-preview6.19259.10, )

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.

This version is marked prerelease. Validate its API and upgrade path before production use.

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

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 11 target frameworks; confirm the exact target used by your application.

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.