System.Text.Json
4.6.0-preview8.19405.3
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Text.Json -Version 4.6.0-preview8.19405.3
dotnet add package System.Text.Json --version 4.6.0-preview8.19405.3
<PackageReference Include="System.Text.Json" Version="4.6.0-preview8.19405.3" />
paket add System.Text.Json --version 4.6.0-preview8.19405.3
#r "nuget: System.Text.Json, 4.6.0-preview8.19405.3"
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=4.6.0-preview8.19405.3&prerelease
// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=4.6.0-preview8.19405.3&prerelease
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-preview8.19405.3)
- System.Memory (>= 4.5.3)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
.NETCoreApp 2.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Memory (>= 4.5.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
- System.Threading.Tasks.Extensions (>= 4.5.2)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Memory (>= 4.5.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
MonoAndroid 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
-
MonoTouch 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
-
UAP 10.0.16299
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Memory (>= 4.5.3)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
Xamarin.iOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
-
Xamarin.Mac 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
-
Xamarin.TVOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
-
Xamarin.WatchOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0-preview8.19405.3)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0-preview8.19405.3)
- System.Text.Encodings.Web (>= 4.6.0-preview8.19405.3)
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 (245)
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 | 10,314 | 6/14/2022 |
7.0.0-preview.4.22229.4 | 28,415 | 5/10/2022 |
7.0.0-preview.3.22175.4 | 23,619 | 4/13/2022 |
7.0.0-preview.2.22152.2 | 28,352 | 3/14/2022 |
7.0.0-preview.1.22076.8 | 31,372 | 2/17/2022 |
6.0.5 | 171,275 | 6/14/2022 |
6.0.4 | 848,963 | 5/10/2022 |
6.0.3 | 928,228 | 4/12/2022 |
6.0.2 | 4,818,899 | 2/8/2022 |
6.0.2-mauipre.1.22102.15 | 13,138 | 2/15/2022 |
6.0.2-mauipre.1.22054.8 | 76,520 | 1/19/2022 |
6.0.1 | 4,841,133 | 12/14/2021 |
6.0.0 | 31,111,589 | 11/8/2021 |
6.0.0-rc.2.21480.5 | 291,431 | 10/12/2021 |
6.0.0-rc.1.21451.13 | 247,850 | 9/14/2021 |
6.0.0-preview.7.21377.19 | 178,675 | 8/10/2021 |
6.0.0-preview.6.21352.12 | 107,412 | 7/14/2021 |
6.0.0-preview.5.21301.5 | 83,986 | 6/15/2021 |
6.0.0-preview.4.21253.7 | 75,567 | 5/24/2021 |
6.0.0-preview.3.21201.4 | 182,357 | 4/8/2021 |
6.0.0-preview.2.21154.6 | 106,131 | 3/11/2021 |
6.0.0-preview.1.21102.12 | 132,563 | 2/12/2021 |
5.0.2 | 33,477,093 | 4/6/2021 |
5.0.1 | 17,721,298 | 1/12/2021 |
5.0.0 | 39,563,176 | 11/9/2020 |
5.0.0-rc.2.20475.5 | 154,397 | 10/13/2020 |
5.0.0-rc.1.20451.14 | 278,436 | 9/14/2020 |
5.0.0-preview.8.20407.11 | 84,335 | 8/25/2020 |
5.0.0-preview.7.20364.11 | 153,740 | 7/21/2020 |
5.0.0-preview.6.20305.6 | 64,716 | 6/25/2020 |
5.0.0-preview.5.20278.1 | 67,676 | 6/10/2020 |
5.0.0-preview.4.20251.6 | 114,956 | 5/18/2020 |
5.0.0-preview.3.20214.6 | 210,925 | 4/23/2020 |
5.0.0-preview.2.20160.6 | 112,291 | 4/2/2020 |
5.0.0-preview.1.20120.5 | 70,444 | 3/16/2020 |
4.7.2 | 96,066,725 | 5/12/2020 |
4.7.1 | 33,256,299 | 2/18/2020 |
4.7.0 | 40,274,814 | 12/3/2019 |
4.7.0-preview3.19551.4 | 255,767 | 11/13/2019 |
4.7.0-preview2.19523.17 | 47,642 | 11/1/2019 |
4.7.0-preview1.19504.10 | 78,765 | 10/15/2019 |
4.6.0 | 135,300,497 | 9/23/2019 |
4.6.0-rc1.19456.4 | 160,353 | 9/16/2019 |
4.6.0-preview9.19421.4 | 214,192 | 9/4/2019 |
4.6.0-preview9.19416.11 | 443 | 9/4/2019 |
4.6.0-preview8.19405.3 | 151,439 | 8/13/2019 |
4.6.0-preview7.19362.9 | 201,744 | 7/23/2019 |
4.6.0-preview6.19303.8 | 177,459 | 6/12/2019 |
4.6.0-preview6.19264.9 | 1,384 | 9/4/2019 |
4.6.0-preview6.19259.10 | 20,338 | 5/10/2019 |