System.Text.Json
4.6.0
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Text.Json -Version 4.6.0
dotnet add package System.Text.Json --version 4.6.0
<PackageReference Include="System.Text.Json" Version="4.6.0" />
paket add System.Text.Json --version 4.6.0
#r "nuget: System.Text.Json, 4.6.0"
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=4.6.0
// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=4.6.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 |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Memory (>= 4.5.3)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
.NETCoreApp 2.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Memory (>= 4.5.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.2)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Memory (>= 4.5.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
MonoAndroid 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
-
MonoTouch 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
-
UAP 10.0.16299
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Memory (>= 4.5.3)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
Xamarin.iOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
-
Xamarin.Mac 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
-
Xamarin.TVOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
-
Xamarin.WatchOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
- System.Text.Encodings.Web (>= 4.6.0)
NuGet packages (3.5K)
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. |
|
Microsoft.Extensions.Logging.Console
Console logger provider implementation for Microsoft.Extensions.Logging. |
|
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 (354)
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
|
|
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
Version | Downloads | Last updated |
---|---|---|
7.0.0-preview.5.22301.12 | 11,403 | 6/14/2022 |
7.0.0-preview.4.22229.4 | 28,795 | 5/10/2022 |
7.0.0-preview.3.22175.4 | 23,855 | 4/13/2022 |
7.0.0-preview.2.22152.2 | 28,487 | 3/14/2022 |
7.0.0-preview.1.22076.8 | 31,532 | 2/17/2022 |
6.0.5 | 193,638 | 6/14/2022 |
6.0.4 | 871,545 | 5/10/2022 |
6.0.3 | 941,117 | 4/12/2022 |
6.0.2 | 4,879,045 | 2/8/2022 |
6.0.2-mauipre.1.22102.15 | 13,249 | 2/15/2022 |
6.0.2-mauipre.1.22054.8 | 77,016 | 1/19/2022 |
6.0.1 | 4,888,969 | 12/14/2021 |
6.0.0 | 31,438,586 | 11/8/2021 |
6.0.0-rc.2.21480.5 | 292,195 | 10/12/2021 |
6.0.0-rc.1.21451.13 | 248,281 | 9/14/2021 |
6.0.0-preview.7.21377.19 | 178,932 | 8/10/2021 |
6.0.0-preview.6.21352.12 | 107,609 | 7/14/2021 |
6.0.0-preview.5.21301.5 | 84,141 | 6/15/2021 |
6.0.0-preview.4.21253.7 | 75,682 | 5/24/2021 |
6.0.0-preview.3.21201.4 | 182,578 | 4/8/2021 |
6.0.0-preview.2.21154.6 | 106,341 | 3/11/2021 |
6.0.0-preview.1.21102.12 | 132,822 | 2/12/2021 |
5.0.2 | 33,642,144 | 4/6/2021 |
5.0.1 | 17,767,389 | 1/12/2021 |
5.0.0 | 39,662,820 | 11/9/2020 |
5.0.0-rc.2.20475.5 | 154,497 | 10/13/2020 |
5.0.0-rc.1.20451.14 | 278,530 | 9/14/2020 |
5.0.0-preview.8.20407.11 | 84,407 | 8/25/2020 |
5.0.0-preview.7.20364.11 | 154,028 | 7/21/2020 |
5.0.0-preview.6.20305.6 | 64,796 | 6/25/2020 |
5.0.0-preview.5.20278.1 | 67,689 | 6/10/2020 |
5.0.0-preview.4.20251.6 | 115,013 | 5/18/2020 |
5.0.0-preview.3.20214.6 | 211,147 | 4/23/2020 |
5.0.0-preview.2.20160.6 | 112,411 | 4/2/2020 |
5.0.0-preview.1.20120.5 | 70,487 | 3/16/2020 |
4.7.2 | 96,387,010 | 5/12/2020 |
4.7.1 | 33,303,661 | 2/18/2020 |
4.7.0 | 40,389,537 | 12/3/2019 |
4.7.0-preview3.19551.4 | 255,987 | 11/13/2019 |
4.7.0-preview2.19523.17 | 47,660 | 11/1/2019 |
4.7.0-preview1.19504.10 | 78,794 | 10/15/2019 |
4.6.0 | 135,772,754 | 9/23/2019 |
4.6.0-rc1.19456.4 | 160,415 | 9/16/2019 |
4.6.0-preview9.19421.4 | 214,535 | 9/4/2019 |
4.6.0-preview9.19416.11 | 443 | 9/4/2019 |
4.6.0-preview8.19405.3 | 151,583 | 8/13/2019 |
4.6.0-preview7.19362.9 | 201,790 | 7/23/2019 |
4.6.0-preview6.19303.8 | 177,519 | 6/12/2019 |
4.6.0-preview6.19264.9 | 1,389 | 9/4/2019 |
4.6.0-preview6.19259.10 | 20,339 | 5/10/2019 |