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

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

Repository Stars
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
jellyfin/jellyfin
The Free Software Media System
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Radarr/Radarr
A fork of Sonarr to work with movies à la Couchpotato.
graphql-dotnet/graphql-dotnet
GraphQL for .NET
reactiveui/refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
elastic/elasticsearch-net
Elasticsearch.Net & NEST
dotnet/corert
This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
5.0.0-preview.4.20251.6 3,266 5/18/2020
5.0.0-preview.3.20214.6 19,687 4/23/2020
5.0.0-preview.2.20160.6 18,740 4/2/2020
5.0.0-preview.1.20120.5 18,611 3/16/2020
4.7.2 199,688 5/12/2020
4.7.1 3,534,435 2/18/2020
4.7.0 5,117,885 12/3/2019
4.7.0-preview3.19551.4 58,009 11/13/2019
4.7.0-preview2.19523.17 29,479 11/1/2019
4.7.0-preview1.19504.10 49,285 10/15/2019
4.6.0 7,411,775 9/23/2019
4.6.0-rc1.19456.4 76,246 9/16/2019
4.6.0-preview9.19421.4 81,984 9/4/2019
4.6.0-preview9.19416.11 94 9/4/2019
4.6.0-preview8.19405.3 108,104 8/13/2019
4.6.0-preview7.19362.9 137,780 7/23/2019
4.6.0-preview6.19303.8 116,153 6/12/2019
4.6.0-preview6.19264.9 221 9/4/2019
4.6.0-preview6.19259.10 18,261 5/10/2019