System.Text.Json 4.6.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

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.6.0
dotnet add package System.Text.Json --version 4.6.0
<PackageReference Include="System.Text.Json" Version="4.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Text.Json --version 4.6.0
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 2,110 6/25/2020
5.0.0-preview.5.20278.1 8,033 6/10/2020
5.0.0-preview.4.20251.6 21,059 5/18/2020
5.0.0-preview.3.20214.6 33,124 4/23/2020
5.0.0-preview.2.20160.6 30,233 4/2/2020
5.0.0-preview.1.20120.5 25,063 3/16/2020
4.7.2 1,406,660 5/12/2020
4.7.1 5,199,334 2/18/2020
4.7.0 6,588,908 12/3/2019
4.7.0-preview3.19551.4 66,039 11/13/2019
4.7.0-preview2.19523.17 30,722 11/1/2019
4.7.0-preview1.19504.10 52,056 10/15/2019
4.6.0 9,384,847 9/23/2019
4.6.0-rc1.19456.4 82,882 9/16/2019
4.6.0-preview9.19421.4 88,348 9/4/2019
4.6.0-preview9.19416.11 107 9/4/2019
4.6.0-preview8.19405.3 112,449 8/13/2019
4.6.0-preview7.19362.9 148,371 7/23/2019
4.6.0-preview6.19303.8 122,002 6/12/2019
4.6.0-preview6.19264.9 261 9/4/2019
4.6.0-preview6.19259.10 18,465 5/10/2019
Show less