System.Text.Json 6.0.0-preview.6.21352.12

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.

Requires NuGet 2.12 or higher.

Install-Package System.Text.Json -Version 6.0.0-preview.6.21352.12
dotnet add package System.Text.Json --version 6.0.0-preview.6.21352.12
<PackageReference Include="System.Text.Json" Version="6.0.0-preview.6.21352.12" />
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.6.21352.12
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.6.21352.12"
#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.6.21352.12&prerelease

// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=6.0.0-preview.6.21352.12&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 11,780 7/14/2021
6.0.0-preview.5.21301.5 33,237 6/15/2021
6.0.0-preview.4.21253.7 31,770 5/24/2021
6.0.0-preview.3.21201.4 54,883 4/8/2021
6.0.0-preview.2.21154.6 43,403 3/11/2021
6.0.0-preview.1.21102.12 57,332 2/12/2021
5.0.2 2,602,011 4/6/2021
5.0.1 4,940,729 1/12/2021
5.0.0 12,865,939 11/9/2020
5.0.0-rc.2.20475.5 118,743 10/13/2020
5.0.0-rc.1.20451.14 228,118 9/14/2020
5.0.0-preview.8.20407.11 66,318 8/25/2020
5.0.0-preview.7.20364.11 94,649 7/21/2020
5.0.0-preview.6.20305.6 52,380 6/25/2020
5.0.0-preview.5.20278.1 53,593 6/10/2020
5.0.0-preview.4.20251.6 87,539 5/18/2020
5.0.0-preview.3.20214.6 136,454 4/23/2020
5.0.0-preview.2.20160.6 77,559 4/2/2020
5.0.0-preview.1.20120.5 57,236 3/16/2020
4.7.2 39,180,092 5/12/2020
4.7.1 20,445,073 2/18/2020
4.7.0 19,841,314 12/3/2019
4.7.0-preview3.19551.4 175,332 11/13/2019
4.7.0-preview2.19523.17 37,794 11/1/2019
4.7.0-preview1.19504.10 65,675 10/15/2019
4.6.0 50,406,130 9/23/2019
4.6.0-rc1.19456.4 137,074 9/16/2019
4.6.0-preview9.19421.4 114,556 9/4/2019
4.6.0-preview9.19416.11 305 9/4/2019
4.6.0-preview8.19405.3 136,159 8/13/2019
4.6.0-preview7.19362.9 177,509 7/23/2019
4.6.0-preview6.19303.8 159,859 6/12/2019
4.6.0-preview6.19264.9 853 9/4/2019
4.6.0-preview6.19259.10 19,576 5/10/2019