System.Text.Json 4.7.0-preview2.19523.17

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.

This is a prerelease version of System.Text.Json.
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.0-preview2.19523.17
dotnet add package System.Text.Json --version 4.7.0-preview2.19523.17
<PackageReference Include="System.Text.Json" Version="4.7.0-preview2.19523.17" />
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.0-preview2.19523.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Text.Json, 4.7.0-preview2.19523.17"
#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=4.7.0-preview2.19523.17&prerelease

// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=4.7.0-preview2.19523.17&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.3K)

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.
Swashbuckle.AspNetCore.SwaggerUI
Middleware to expose an embedded version of the swagger-ui from an ASP.NET Core application
Microsoft.Extensions.Logging.Console
Console logger provider implementation for Microsoft.Extensions.Logging.
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for APIs built on ASP.NET Core

GitHub repositories (239)

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.5.21301.5 7,784 6/15/2021
6.0.0-preview.4.21253.7 21,646 5/24/2021
6.0.0-preview.3.21201.4 43,821 4/8/2021
6.0.0-preview.2.21154.6 35,953 3/11/2021
6.0.0-preview.1.21102.12 48,534 2/12/2021
5.0.2 1,472,830 4/6/2021
5.0.1 3,894,654 1/12/2021
5.0.0 10,678,964 11/9/2020
5.0.0-rc.2.20475.5 115,541 10/13/2020
5.0.0-rc.1.20451.14 223,082 9/14/2020
5.0.0-preview.8.20407.11 64,091 8/25/2020
5.0.0-preview.7.20364.11 88,492 7/21/2020
5.0.0-preview.6.20305.6 51,215 6/25/2020
5.0.0-preview.5.20278.1 51,927 6/10/2020
5.0.0-preview.4.20251.6 84,805 5/18/2020
5.0.0-preview.3.20214.6 130,668 4/23/2020
5.0.0-preview.2.20160.6 74,520 4/2/2020
5.0.0-preview.1.20120.5 55,351 3/16/2020
4.7.2 35,465,153 5/12/2020
4.7.1 19,315,560 2/18/2020
4.7.0 18,767,065 12/3/2019
4.7.0-preview3.19551.4 169,809 11/13/2019
4.7.0-preview2.19523.17 37,314 11/1/2019
4.7.0-preview1.19504.10 64,828 10/15/2019
4.6.0 45,427,430 9/23/2019
4.6.0-rc1.19456.4 134,713 9/16/2019
4.6.0-preview9.19421.4 113,119 9/4/2019
4.6.0-preview9.19416.11 299 9/4/2019
4.6.0-preview8.19405.3 134,900 8/13/2019
4.6.0-preview7.19362.9 176,502 7/23/2019
4.6.0-preview6.19303.8 157,865 6/12/2019
4.6.0-preview6.19264.9 808 9/4/2019
4.6.0-preview6.19259.10 19,542 5/10/2019
Show less