System.Text.Json 5.0.0-preview.3.20214.6

Prefix Reserved
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.

dotnet add package System.Text.Json --version 5.0.0-preview.3.20214.6
                    
NuGet\Install-Package System.Text.Json -Version 5.0.0-preview.3.20214.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="System.Text.Json" Version="5.0.0-preview.3.20214.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="System.Text.Json" Version="5.0.0-preview.3.20214.6" />
                    
Directory.Packages.props
<PackageReference Include="System.Text.Json" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add System.Text.Json --version 5.0.0-preview.3.20214.6
                    
#r "nuget: System.Text.Json, 5.0.0-preview.3.20214.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=System.Text.Json&version=5.0.0-preview.3.20214.6&prerelease
                    
Install System.Text.Json as a Cake Addin
#tool nuget:?package=System.Text.Json&version=5.0.0-preview.3.20214.6&prerelease
                    
Install System.Text.Json as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8.5K)

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

Package Downloads
Microsoft.IdentityModel.Tokens

Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.

Microsoft.Extensions.DependencyModel

Provides abstractions for reading `.deps` files. When a .NET application is compiled, the SDK generates a JSON manifest file (`<ApplicationName>.deps.json`) that contains information about application dependencies. You can use `Microsoft.Extensions.DependencyModel` to read information from this manifest at run time. This is useful when you want to dynamically compile code (for example, using Roslyn Emit API) referencing the same dependencies as your main application. By default, the dependency manifest contains information about the application's target framework and runtime dependencies. Set the PreserveCompilationContext project property to `true` to additionally include information about reference assemblies used during compilation.

Azure.Core

This is the implementation of the Azure Client Pipeline

Microsoft.Extensions.Configuration.Json

JSON configuration provider implementation for Microsoft.Extensions.Configuration. This package enables you to read your application's settings from a JSON file. You can use JsonConfigurationExtensions.AddJsonFile extension method on IConfigurationBuilder to add the JSON configuration provider to the configuration builder.

Microsoft.IdentityModel.Protocols.OpenIdConnect

Includes types that provide support for OpenIdConnect protocol.

GitHub repositories (881)

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

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
files-community/Files
A modern file manager that helps users organize their files and folders.
DevToys-app/DevToys
A Swiss Army knife for developers.
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
peass-ng/PEASS-ng
PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
Jackett/Jackett
API Support for your favorite torrent trackers
MonoGame/MonoGame
One framework for creating powerful cross-platform games.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
microsoft/garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
chocolatey/choco
Chocolatey - the package manager for Windows
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
Version Downloads Last updated
10.0.0-preview.3.25171.5 13,543 4/10/2025
10.0.0-preview.2.25163.2 26,603 3/18/2025
10.0.0-preview.1.25080.5 31,994 2/25/2025
9.0.4 2,847,090 4/8/2025
9.0.3 5,547,092 3/11/2025
9.0.2 7,306,426 2/11/2025
9.0.1 8,740,825 1/14/2025
9.0.0 28,766,235 11/12/2024
9.0.0-rc.2.24473.5 1,302,922 10/8/2024
9.0.0-rc.1.24431.7 263,405 9/10/2024
9.0.0-preview.7.24405.7 196,659 8/13/2024
9.0.0-preview.6.24327.7 217,319 7/9/2024
9.0.0-preview.5.24306.7 157,914 6/11/2024
9.0.0-preview.4.24266.19 116,963 5/21/2024
9.0.0-preview.3.24172.9 238,462 4/11/2024
9.0.0-preview.2.24128.5 136,427 3/12/2024
9.0.0-preview.1.24080.9 165,392 2/13/2024
8.0.5 64,447,228 10/8/2024
8.0.4 76,358,609 7/9/2024 8.0.4 has at least one vulnerability with high severity.
8.0.3 20,461,862 3/12/2024 8.0.3 has at least one vulnerability with high severity.
8.0.2 9,140,986 2/13/2024 8.0.2 has at least one vulnerability with high severity.
8.0.1 9,560,773 1/9/2024 8.0.1 has at least one vulnerability with high severity.
8.0.0 205,508,530 11/14/2023 8.0.0 has at least one vulnerability with high severity.
8.0.0-rc.2.23479.6 1,249,994 10/10/2023 8.0.0-rc.2.23479.6 has at least one vulnerability with high severity.
8.0.0-rc.1.23419.4 502,211 9/12/2023 8.0.0-rc.1.23419.4 has at least one vulnerability with high severity.
8.0.0-preview.7.23375.6 286,866 8/8/2023 8.0.0-preview.7.23375.6 has at least one vulnerability with high severity.
8.0.0-preview.6.23329.7 339,184 7/11/2023 8.0.0-preview.6.23329.7 has at least one vulnerability with high severity.
8.0.0-preview.5.23280.8 270,603 6/13/2023 8.0.0-preview.5.23280.8 has at least one vulnerability with high severity.
8.0.0-preview.4.23259.5 522,945 5/16/2023 8.0.0-preview.4.23259.5 has at least one vulnerability with high severity.
8.0.0-preview.3.23174.8 450,545 4/11/2023 8.0.0-preview.3.23174.8 has at least one vulnerability with high severity.
8.0.0-preview.2.23128.3 417,491 3/14/2023 8.0.0-preview.2.23128.3 has at least one vulnerability with high severity.
8.0.0-preview.1.23110.8 267,262 2/21/2023 8.0.0-preview.1.23110.8 has at least one vulnerability with high severity.
7.0.4 2,820,843 11/14/2023 7.0.4 has at least one vulnerability with high severity.
7.0.3 85,469,603 6/13/2023 7.0.3 has at least one vulnerability with high severity.
7.0.2 60,204,176 2/14/2023 7.0.2 has at least one vulnerability with high severity.
7.0.1 33,619,408 12/13/2022 7.0.1 has at least one vulnerability with high severity.
7.0.0 206,279,872 11/7/2022 7.0.0 has at least one vulnerability with high severity.
7.0.0-rc.2.22472.3 340,358 10/11/2022
7.0.0-rc.1.22426.10 280,242 9/14/2022
7.0.0-preview.7.22375.6 300,105 8/9/2022
7.0.0-preview.6.22324.4 161,761 7/12/2022
7.0.0-preview.5.22301.12 104,401 6/14/2022
7.0.0-preview.4.22229.4 156,196 5/10/2022
7.0.0-preview.3.22175.4 132,914 4/13/2022
7.0.0-preview.2.22152.2 100,872 3/14/2022
7.0.0-preview.1.22076.8 93,739 2/17/2022
6.0.11 2,501,567 11/12/2024
6.0.10 47,654,016 10/8/2024
6.0.9 40,018,633 11/14/2023 6.0.9 has at least one vulnerability with high severity.
6.0.8 16,593,223 6/13/2023 6.0.8 has at least one vulnerability with high severity.
6.0.7 38,981,373 11/7/2022 6.0.7 has at least one vulnerability with high severity.
6.0.6 28,992,060 9/13/2022 6.0.6 has at least one vulnerability with high severity.
6.0.5 65,429,556 6/14/2022 6.0.5 has at least one vulnerability with high severity.
6.0.4 19,427,788 5/10/2022 6.0.4 has at least one vulnerability with high severity.
6.0.3 14,070,642 4/12/2022 6.0.3 has at least one vulnerability with high severity.
6.0.2 57,927,565 2/8/2022 6.0.2 has at least one vulnerability with high severity.
6.0.1 39,903,882 12/14/2021 6.0.1 has at least one vulnerability with high severity.
6.0.0 469,984,892 11/8/2021 6.0.0 has at least one vulnerability with high severity.
6.0.0-rc.2.21480.5 624,124 10/12/2021
6.0.0-rc.1.21451.13 408,620 9/14/2021
6.0.0-preview.7.21377.19 304,480 8/10/2021
6.0.0-preview.6.21352.12 166,638 7/14/2021
6.0.0-preview.5.21301.5 125,687 6/15/2021
6.0.0-preview.4.21253.7 111,239 5/24/2021
6.0.0-preview.3.21201.4 304,853 4/8/2021
6.0.0-preview.2.21154.6 161,174 3/11/2021
6.0.0-preview.1.21102.12 216,965 2/12/2021
5.0.2 154,667,497 4/6/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 56,343,730 1/12/2021 5.0.1 is deprecated because it is no longer maintained.
5.0.0 117,101,284 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 225,433 10/13/2020
5.0.0-rc.1.20451.14 371,584 9/14/2020
5.0.0-preview.8.20407.11 116,983 8/25/2020
5.0.0-preview.7.20364.11 291,142 7/21/2020
5.0.0-preview.6.20305.6 83,518 6/25/2020
5.0.0-preview.5.20278.1 92,773 6/10/2020
5.0.0-preview.4.20251.6 166,094 5/18/2020
5.0.0-preview.3.20214.6 349,398 4/23/2020
5.0.0-preview.2.20160.6 169,262 4/2/2020
5.0.0-preview.1.20120.5 92,357 3/16/2020
4.7.2 709,042,145 5/12/2020
4.7.1 67,925,166 2/18/2020
4.7.0 133,295,642 12/3/2019
4.7.0-preview3.19551.4 321,201 11/13/2019
4.7.0-preview2.19523.17 68,700 11/1/2019
4.7.0-preview1.19504.10 99,309 10/15/2019
4.6.0 634,559,684 9/23/2019
4.6.0-rc1.19456.4 194,845 9/16/2019
4.6.0-preview9.19421.4 586,461 9/4/2019
4.6.0-preview9.19416.11 2,436 9/4/2019
4.6.0-preview8.19405.3 196,037 8/13/2019
4.6.0-preview7.19362.9 254,000 7/23/2019
4.6.0-preview6.19303.8 267,302 6/12/2019
4.6.0-preview6.19264.9 6,594 9/4/2019
4.6.0-preview6.19259.10 28,819 5/10/2019