System.Text.Json 6.0.0-preview.5.21301.5

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

This is a prerelease version of System.Text.Json.
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package System.Text.Json -Version 6.0.0-preview.5.21301.5
dotnet add package System.Text.Json --version 6.0.0-preview.5.21301.5
<PackageReference Include="System.Text.Json" Version="6.0.0-preview.5.21301.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Text.Json --version 6.0.0-preview.5.21301.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Text.Json, 6.0.0-preview.5.21301.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=6.0.0-preview.5.21301.5&prerelease

// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=6.0.0-preview.5.21301.5&prerelease
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

NuGet packages (2.4K)

Showing the top 5 NuGet packages that depend on System.Text.Json:

Package Downloads
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files. Commonly Used Types: Microsoft.Extensions.DependencyModel.DependencyContext
Microsoft.Extensions.Configuration.Json
JSON configuration provider implementation for Microsoft.Extensions.Configuration.
Microsoft.Extensions.Logging.Console
Console logger provider implementation for Microsoft.Extensions.Logging.
Swashbuckle.AspNetCore.SwaggerUI
Middleware to expose an embedded version of the swagger-ui from an ASP.NET Core application
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for APIs built on ASP.NET Core

GitHub repositories (253)

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

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
jellyfin/jellyfin
The Free Software Media System
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).

Version History

Version Downloads Last updated
6.0.0-preview.6.21352.12 13,640 7/14/2021
6.0.0-preview.5.21301.5 34,112 6/15/2021
6.0.0-preview.4.21253.7 32,845 5/24/2021
6.0.0-preview.3.21201.4 55,688 4/8/2021
6.0.0-preview.2.21154.6 43,947 3/11/2021
6.0.0-preview.1.21102.12 58,029 2/12/2021
5.0.2 2,697,484 4/6/2021
5.0.1 5,033,539 1/12/2021
5.0.0 13,042,327 11/9/2020
5.0.0-rc.2.20475.5 118,997 10/13/2020
5.0.0-rc.1.20451.14 228,608 9/14/2020
5.0.0-preview.8.20407.11 66,544 8/25/2020
5.0.0-preview.7.20364.11 94,961 7/21/2020
5.0.0-preview.6.20305.6 52,465 6/25/2020
5.0.0-preview.5.20278.1 53,682 6/10/2020
5.0.0-preview.4.20251.6 87,782 5/18/2020
5.0.0-preview.3.20214.6 137,112 4/23/2020
5.0.0-preview.2.20160.6 77,671 4/2/2020
5.0.0-preview.1.20120.5 57,406 3/16/2020
4.7.2 39,501,523 5/12/2020
4.7.1 20,537,683 2/18/2020
4.7.0 19,932,448 12/3/2019
4.7.0-preview3.19551.4 175,681 11/13/2019
4.7.0-preview2.19523.17 37,843 11/1/2019
4.7.0-preview1.19504.10 65,814 10/15/2019
4.6.0 50,827,297 9/23/2019
4.6.0-rc1.19456.4 137,236 9/16/2019
4.6.0-preview9.19421.4 114,724 9/4/2019
4.6.0-preview9.19416.11 306 9/4/2019
4.6.0-preview8.19405.3 136,244 8/13/2019
4.6.0-preview7.19362.9 177,567 7/23/2019
4.6.0-preview6.19303.8 160,016 6/12/2019
4.6.0-preview6.19264.9 858 9/4/2019
4.6.0-preview6.19259.10 19,579 5/10/2019