System.Text.Json 6.0.0-preview.2.21154.6

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:

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

// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=6.0.0-preview.2.21154.6&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

NuGet packages (2.3K)

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

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

GitHub repositories (234)

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

Repository Stars
Windows system utilities to maximize productivity
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
The Free Software Media System
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
Simple REST and HTTP API Client for .NET

Version History

Version Downloads Last updated
6.0.0-preview.4.21253.7 13,766 5/24/2021
6.0.0-preview.3.21201.4 39,030 4/8/2021
6.0.0-preview.2.21154.6 32,916 3/11/2021
6.0.0-preview.1.21102.12 44,784 2/12/2021
5.0.2 1,089,170 4/6/2021
5.0.1 3,500,185 1/12/2021
5.0.0 9,819,925 11/9/2020
5.0.0-rc.2.20475.5 113,834 10/13/2020
5.0.0-rc.1.20451.14 220,993 9/14/2020
5.0.0-preview.8.20407.11 63,244 8/25/2020
5.0.0-preview.7.20364.11 86,122 7/21/2020
5.0.0-preview.6.20305.6 50,706 6/25/2020
5.0.0-preview.5.20278.1 51,366 6/10/2020
5.0.0-preview.4.20251.6 83,538 5/18/2020
5.0.0-preview.3.20214.6 127,987 4/23/2020
5.0.0-preview.2.20160.6 73,474 4/2/2020
5.0.0-preview.1.20120.5 54,566 3/16/2020
4.7.2 34,034,365 5/12/2020
4.7.1 18,874,584 2/18/2020
4.7.0 18,348,592 12/3/2019
4.7.0-preview3.19551.4 167,724 11/13/2019
4.7.0-preview2.19523.17 37,097 11/1/2019
4.7.0-preview1.19504.10 64,548 10/15/2019
4.6.0 43,531,351 9/23/2019
4.6.0-rc1.19456.4 133,384 9/16/2019
4.6.0-preview9.19421.4 112,650 9/4/2019
4.6.0-preview9.19416.11 297 9/4/2019
4.6.0-preview8.19405.3 134,288 8/13/2019
4.6.0-preview7.19362.9 176,047 7/23/2019
4.6.0-preview6.19303.8 156,880 6/12/2019
4.6.0-preview6.19264.9 796 9/4/2019
4.6.0-preview6.19259.10 19,524 5/10/2019