System.Text.Json 4.7.1

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.

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package System.Text.Json -Version 4.7.1
dotnet add package System.Text.Json --version 4.7.1
<PackageReference Include="System.Text.Json" Version="4.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Text.Json --version 4.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799421

GitHub repositories (111+)

Showing the top 5 GitHub repositories that depend on System.Text.Json:

Repository Stars
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
jellyfin/jellyfin
The Free Software Media System
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 3.1 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.

Version History

Version Downloads Last updated
5.0.0-preview.6.20305.6 3,347 6/25/2020
5.0.0-preview.5.20278.1 8,604 6/10/2020
5.0.0-preview.4.20251.6 22,357 5/18/2020
5.0.0-preview.3.20214.6 34,259 4/23/2020
5.0.0-preview.2.20160.6 30,933 4/2/2020
5.0.0-preview.1.20120.5 25,487 3/16/2020
4.7.2 1,537,218 5/12/2020
4.7.1 5,320,611 2/18/2020
4.7.0 6,699,765 12/3/2019
4.7.0-preview3.19551.4 66,625 11/13/2019
4.7.0-preview2.19523.17 30,763 11/1/2019
4.7.0-preview1.19504.10 52,224 10/15/2019
4.6.0 9,550,150 9/23/2019
4.6.0-rc1.19456.4 83,329 9/16/2019
4.6.0-preview9.19421.4 88,738 9/4/2019
4.6.0-preview9.19416.11 108 9/4/2019
4.6.0-preview8.19405.3 112,566 8/13/2019
4.6.0-preview7.19362.9 148,877 7/23/2019
4.6.0-preview6.19303.8 122,234 6/12/2019
4.6.0-preview6.19264.9 263 9/4/2019
4.6.0-preview6.19259.10 18,488 5/10/2019
Show less