System.Text.Json 4.7.2

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 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 4.7.2
dotnet add package System.Text.Json --version 4.7.2
<PackageReference Include="System.Text.Json" Version="4.7.2" />
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.2
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 (1.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 When using NuGet 3.x this package requires at least version 3.4.
Microsoft.Extensions.Configuration.Json
JSON configuration provider implementation for Microsoft.Extensions.Configuration. When using NuGet 3.x this package requires at least version 3.4.
Microsoft.Extensions.Logging.Console
Console logger provider implementation for Microsoft.Extensions.Logging. When using NuGet 3.x this package requires at least version 3.4.
Swashbuckle.AspNetCore.SwaggerGen
Swagger Generator for APIs built on ASP.NET Core
Swashbuckle.AspNetCore.SwaggerUi
Middleware to expose an embedded version of the swagger-ui from an ASP.NET Core application

GitHub repositories (140)

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

Repository Stars
jellyfin/jellyfin
The Free Software Media System
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
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.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all

Version History

Version Downloads Last updated
5.0.0-rc.2.20475.5 4,414 10/13/2020
5.0.0-rc.1.20451.14 42,373 9/14/2020
5.0.0-preview.8.20407.11 35,365 8/25/2020
5.0.0-preview.7.20364.11 40,562 7/21/2020
5.0.0-preview.6.20305.6 33,827 6/25/2020
5.0.0-preview.5.20278.1 30,428 6/10/2020
5.0.0-preview.4.20251.6 51,730 5/18/2020
5.0.0-preview.3.20214.6 67,638 4/23/2020
5.0.0-preview.2.20160.6 47,129 4/2/2020
5.0.0-preview.1.20120.5 38,620 3/16/2020
4.7.2 8,840,525 5/12/2020
4.7.1 9,859,773 2/18/2020
4.7.0 10,445,668 12/3/2019
4.7.0-preview3.19551.4 104,277 11/13/2019
4.7.0-preview2.19523.17 32,704 11/1/2019
4.7.0-preview1.19504.10 57,547 10/15/2019
4.6.0 16,700,441 9/23/2019
4.6.0-rc1.19456.4 101,898 9/16/2019
4.6.0-preview9.19421.4 97,098 9/4/2019
4.6.0-preview9.19416.11 166 9/4/2019
4.6.0-preview8.19405.3 120,310 8/13/2019
4.6.0-preview7.19362.9 155,944 7/23/2019
4.6.0-preview6.19303.8 131,513 6/12/2019
4.6.0-preview6.19264.9 382 9/4/2019
4.6.0-preview6.19259.10 19,068 5/10/2019
Show less