System.Text.Json
                              
                            
                                5.0.0
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package System.Text.Json --version 5.0.0
NuGet\Install-Package System.Text.Json -Version 5.0.0
<PackageReference Include="System.Text.Json" Version="5.0.0" />
<PackageVersion Include="System.Text.Json" Version="5.0.0" />
<PackageReference Include="System.Text.Json" />
paket add System.Text.Json --version 5.0.0
#r "nuget: System.Text.Json, 5.0.0"
#:package System.Text.Json@5.0.0
#addin nuget:?package=System.Text.Json&version=5.0.0
#tool nuget:?package=System.Text.Json&version=5.0.0
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 | Versions 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. | 
- 
                                                    .NETCoreApp 2.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
 
- 
                                                    .NETCoreApp 2.1- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
- 
                                                    .NETCoreApp 3.0- No dependencies.
 
- 
                                                    .NETFramework 4.6.1- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
 
- 
                                                    .NETStandard 2.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
 
- 
                                                    MonoAndroid 1.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
- 
                                                    MonoTouch 1.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
- 
                                                    UAP 10.0.16299- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
 
- 
                                                    Xamarin.iOS 1.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
- 
                                                    Xamarin.Mac 2.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
- 
                                                    Xamarin.TVOS 1.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
- 
                                                    Xamarin.WatchOS 1.0- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
 
NuGet packages (9.4K)
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. | |
| Azure.Core This is the implementation of the Azure Client Pipeline | |
| 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. | |
| 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 (960)
Showing the top 20 popular GitHub repositories that depend on System.Text.Json:
| Repository | Stars | 
|---|---|
| microsoft/PowerToys 
                                                            Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks
                                                         | |
| 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/efcore 
                                                            EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
                                                         | |
| Jackett/Jackett 
                                                            API Support for your favorite torrent trackers
                                                         | |
| App-vNext/Polly 
                                                            Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
                                                         | |
| 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.
                                                         | |
| MonoGame/MonoGame 
                                                            One framework for creating powerful cross-platform games.
                                                         | |
| Sonarr/Sonarr 
                                                            Smart PVR for newsgroup and bittorrent users.
                                                         | |
| Radarr/Radarr 
                                                            Movie organizer/manager for usenet and torrent users.
                                                         | |
| aspnetboilerplate/aspnetboilerplate 
                                                            ASP.NET Boilerplate - Web Application Framework
                                                         | |
| 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
                                                         | |
| mRemoteNG/mRemoteNG 
                                                            mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
                                                         | 
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.0.0-rc.2.25502.107 | 31,686 | 10/14/2025 | |
| 10.0.0-rc.1.25451.107 | 76,547 | 9/9/2025 | |
| 10.0.0-preview.7.25380.108 | 44,839 | 8/12/2025 | |
| 10.0.0-preview.6.25358.103 | 55,955 | 7/15/2025 | |
| 10.0.0-preview.5.25277.114 | 79,418 | 6/6/2025 | |
| 10.0.0-preview.4.25258.110 | 75,652 | 5/12/2025 | |
| 10.0.0-preview.3.25171.5 | 121,651 | 4/10/2025 | |
| 10.0.0-preview.2.25163.2 | 75,034 | 3/18/2025 | |
| 10.0.0-preview.1.25080.5 | 71,081 | 2/25/2025 | |
| 9.0.10 | 2,031,631 | 10/14/2025 | |
| 9.0.9 | 7,511,520 | 9/9/2025 | |
| 9.0.8 | 9,861,414 | 8/5/2025 | |
| 9.0.7 | 8,264,108 | 7/8/2025 | |
| 9.0.6 | 10,601,931 | 6/10/2025 | |
| 9.0.5 | 15,412,931 | 5/13/2025 | |
| 9.0.4 | 20,252,394 | 4/8/2025 | |
| 9.0.3 | 15,515,079 | 3/11/2025 | |
| 9.0.2 | 18,887,741 | 2/11/2025 | |
| 9.0.1 | 20,498,266 | 1/14/2025 | |
| 9.0.0 | 67,839,798 | 11/12/2024 | |
| 9.0.0-rc.2.24473.5 | 2,996,197 | 10/8/2024 | |
| 9.0.0-rc.1.24431.7 | 344,903 | 9/10/2024 | |
| 9.0.0-preview.7.24405.7 | 342,081 | 8/13/2024 | |
| 9.0.0-preview.6.24327.7 | 339,584 | 7/9/2024 | |
| 9.0.0-preview.5.24306.7 | 213,875 | 6/11/2024 | |
| 9.0.0-preview.4.24266.19 | 147,081 | 5/21/2024 | |
| 9.0.0-preview.3.24172.9 | 274,323 | 4/11/2024 | |
| 9.0.0-preview.2.24128.5 | 173,462 | 3/12/2024 | |
| 9.0.0-preview.1.24080.9 | 204,561 | 2/13/2024 | |
| 8.0.6 | 4,219,116 | 7/8/2025 | |
| 8.0.5 | 158,286,499 | 10/8/2024 | |
| 8.0.4 | 112,204,333 | 7/9/2024 | |
| 8.0.3 | 26,176,267 | 3/12/2024 | |
| 8.0.2 | 11,454,987 | 2/13/2024 | |
| 8.0.1 | 12,057,709 | 1/9/2024 | |
| 8.0.0 | 279,925,874 | 11/14/2023 | |
| 8.0.0-rc.2.23479.6 | 1,484,686 | 10/10/2023 | |
| 8.0.0-rc.1.23419.4 | 634,353 | 9/12/2023 | |
| 8.0.0-preview.7.23375.6 | 304,834 | 8/8/2023 | |
| 8.0.0-preview.6.23329.7 | 366,980 | 7/11/2023 | |
| 8.0.0-preview.5.23280.8 | 314,648 | 6/13/2023 | |
| 8.0.0-preview.4.23259.5 | 575,896 | 5/16/2023 | |
| 8.0.0-preview.3.23174.8 | 487,882 | 4/11/2023 | |
| 8.0.0-preview.2.23128.3 | 429,666 | 3/14/2023 | |
| 8.0.0-preview.1.23110.8 | 285,406 | 2/21/2023 | |
| 7.0.4 | 3,469,318 | 11/14/2023 | |
| 7.0.3 | 123,081,376 | 6/13/2023 | |
| 7.0.2 | 69,997,096 | 2/14/2023 | |
| 7.0.1 | 39,758,779 | 12/13/2022 | |
| 7.0.0 | 236,697,817 | 11/7/2022 | |
| 7.0.0-rc.2.22472.3 | 365,885 | 10/11/2022 | |
| 7.0.0-rc.1.22426.10 | 299,917 | 9/14/2022 | |
| 7.0.0-preview.7.22375.6 | 316,690 | 8/9/2022 | |
| 7.0.0-preview.6.22324.4 | 170,364 | 7/12/2022 | |
| 7.0.0-preview.5.22301.12 | 110,086 | 6/14/2022 | |
| 7.0.0-preview.4.22229.4 | 164,682 | 5/10/2022 | |
| 7.0.0-preview.3.22175.4 | 136,643 | 4/13/2022 | |
| 7.0.0-preview.2.22152.2 | 104,588 | 3/14/2022 | |
| 7.0.0-preview.1.22076.8 | 95,976 | 2/17/2022 | |
| 6.0.11 | 11,006,814 | 11/12/2024 | |
| 6.0.10 | 125,034,918 | 10/8/2024 | |
| 6.0.9 | 78,718,534 | 11/14/2023 | |
| 6.0.8 | 19,805,882 | 6/13/2023 | |
| 6.0.7 | 45,010,111 | 11/7/2022 | |
| 6.0.6 | 31,942,362 | 9/13/2022 | |
| 6.0.5 | 73,027,740 | 6/14/2022 | |
| 6.0.4 | 23,125,572 | 5/10/2022 | |
| 6.0.3 | 16,796,626 | 4/12/2022 | |
| 6.0.2 | 64,046,805 | 2/8/2022 | |
| 6.0.1 | 45,285,619 | 12/14/2021 | |
| 6.0.0 | 555,778,765 | 11/8/2021 | |
| 6.0.0-rc.2.21480.5 | 647,031 | 10/12/2021 | |
| 6.0.0-rc.1.21451.13 | 424,340 | 9/14/2021 | |
| 6.0.0-preview.7.21377.19 | 322,588 | 8/10/2021 | |
| 6.0.0-preview.6.21352.12 | 170,305 | 7/14/2021 | |
| 6.0.0-preview.5.21301.5 | 128,394 | 6/15/2021 | |
| 6.0.0-preview.4.21253.7 | 119,480 | 5/24/2021 | |
| 6.0.0-preview.3.21201.4 | 320,211 | 4/8/2021 | |
| 6.0.0-preview.2.21154.6 | 165,449 | 3/11/2021 | |
| 6.0.0-preview.1.21102.12 | 224,294 | 2/12/2021 | |
| 5.0.2 | 172,179,252 | 4/6/2021 | |
| 5.0.1 | 61,411,834 | 1/12/2021 | |
| 5.0.0 | 126,281,591 | 11/9/2020 | |
| 5.0.0-rc.2.20475.5 | 235,135 | 10/13/2020 | |
| 5.0.0-rc.1.20451.14 | 380,940 | 9/14/2020 | |
| 5.0.0-preview.8.20407.11 | 120,241 | 8/25/2020 | |
| 5.0.0-preview.7.20364.11 | 320,373 | 7/21/2020 | |
| 5.0.0-preview.6.20305.6 | 86,374 | 6/25/2020 | |
| 5.0.0-preview.5.20278.1 | 95,628 | 6/10/2020 | |
| 5.0.0-preview.4.20251.6 | 168,835 | 5/18/2020 | |
| 5.0.0-preview.3.20214.6 | 361,181 | 4/23/2020 | |
| 5.0.0-preview.2.20160.6 | 171,171 | 4/2/2020 | |
| 5.0.0-preview.1.20120.5 | 94,707 | 3/16/2020 | |
| 4.7.2 | 871,141,141 | 5/12/2020 | |
| 4.7.1 | 74,517,496 | 2/18/2020 | |
| 4.7.0 | 144,855,783 | 12/3/2019 | |
| 4.7.0-preview3.19551.4 | 325,631 | 11/13/2019 | |
| 4.7.0-preview2.19523.17 | 70,983 | 11/1/2019 | |
| 4.7.0-preview1.19504.10 | 103,892 | 10/15/2019 | |
| 4.6.0 | 742,051,170 | 9/23/2019 | |
| 4.6.0-rc1.19456.4 | 198,917 | 9/16/2019 | |
| 4.6.0-preview9.19421.4 | 667,990 | 9/4/2019 | |
| 4.6.0-preview9.19416.11 | 2,998 | 9/4/2019 | |
| 4.6.0-preview8.19405.3 | 211,439 | 8/13/2019 | |
| 4.6.0-preview7.19362.9 | 261,111 | 7/23/2019 | |
| 4.6.0-preview6.19303.8 | 285,218 | 6/12/2019 | |
| 4.6.0-preview6.19264.9 | 7,290 | 9/4/2019 | |
| 4.6.0-preview6.19259.10 | 30,567 | 5/10/2019 |