System.Text.Json
6.0.0-preview.3.21201.4
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Text.Json -Version 6.0.0-preview.3.21201.4
dotnet add package System.Text.Json --version 6.0.0-preview.3.21201.4
<PackageReference Include="System.Text.Json" Version="6.0.0-preview.3.21201.4" />
paket add System.Text.Json --version 6.0.0-preview.3.21201.4
#r "nuget: System.Text.Json, 6.0.0-preview.3.21201.4"
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=6.0.0-preview.3.21201.4&prerelease
// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=6.0.0-preview.3.21201.4&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
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 (>= 6.0.0-preview.3.21201.4)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETCoreApp 2.1
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
.NETCoreApp 3.0
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
MonoAndroid 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
MonoTouch 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
UAP 10.0.16299
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
Xamarin.iOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
Xamarin.Mac 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
Xamarin.TVOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
-
Xamarin.WatchOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0-preview.3.21201.4)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0-preview.3.21201.4)
- System.Text.Encodings.Web (>= 6.0.0-preview.3.21201.4)
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 (344)
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,910 | 6/14/2022 |
7.0.0-preview.4.22229.4 | 28,966 | 5/10/2022 |
7.0.0-preview.3.22175.4 | 23,956 | 4/13/2022 |
7.0.0-preview.2.22152.2 | 28,604 | 3/14/2022 |
7.0.0-preview.1.22076.8 | 31,666 | 2/17/2022 |
6.0.5 | 208,207 | 6/14/2022 |
6.0.4 | 887,359 | 5/10/2022 |
6.0.3 | 950,896 | 4/12/2022 |
6.0.2 | 4,918,648 | 2/8/2022 |
6.0.2-mauipre.1.22102.15 | 13,319 | 2/15/2022 |
6.0.2-mauipre.1.22054.8 | 77,227 | 1/19/2022 |
6.0.1 | 4,911,196 | 12/14/2021 |
6.0.0 | 31,632,678 | 11/8/2021 |
6.0.0-rc.2.21480.5 | 292,664 | 10/12/2021 |
6.0.0-rc.1.21451.13 | 248,717 | 9/14/2021 |
6.0.0-preview.7.21377.19 | 179,106 | 8/10/2021 |
6.0.0-preview.6.21352.12 | 107,749 | 7/14/2021 |
6.0.0-preview.5.21301.5 | 84,179 | 6/15/2021 |
6.0.0-preview.4.21253.7 | 75,707 | 5/24/2021 |
6.0.0-preview.3.21201.4 | 182,682 | 4/8/2021 |
6.0.0-preview.2.21154.6 | 106,424 | 3/11/2021 |
6.0.0-preview.1.21102.12 | 132,956 | 2/12/2021 |
5.0.2 | 33,738,012 | 4/6/2021 |
5.0.1 | 17,803,837 | 1/12/2021 |
5.0.0 | 39,725,232 | 11/9/2020 |
5.0.0-rc.2.20475.5 | 154,661 | 10/13/2020 |
5.0.0-rc.1.20451.14 | 278,737 | 9/14/2020 |
5.0.0-preview.8.20407.11 | 84,425 | 8/25/2020 |
5.0.0-preview.7.20364.11 | 154,206 | 7/21/2020 |
5.0.0-preview.6.20305.6 | 64,820 | 6/25/2020 |
5.0.0-preview.5.20278.1 | 67,699 | 6/10/2020 |
5.0.0-preview.4.20251.6 | 115,063 | 5/18/2020 |
5.0.0-preview.3.20214.6 | 211,381 | 4/23/2020 |
5.0.0-preview.2.20160.6 | 112,526 | 4/2/2020 |
5.0.0-preview.1.20120.5 | 70,508 | 3/16/2020 |
4.7.2 | 96,583,468 | 5/12/2020 |
4.7.1 | 33,337,879 | 2/18/2020 |
4.7.0 | 40,461,747 | 12/3/2019 |
4.7.0-preview3.19551.4 | 256,089 | 11/13/2019 |
4.7.0-preview2.19523.17 | 47,673 | 11/1/2019 |
4.7.0-preview1.19504.10 | 78,807 | 10/15/2019 |
4.6.0 | 136,037,823 | 9/23/2019 |
4.6.0-rc1.19456.4 | 160,439 | 9/16/2019 |
4.6.0-preview9.19421.4 | 214,756 | 9/4/2019 |
4.6.0-preview9.19416.11 | 443 | 9/4/2019 |
4.6.0-preview8.19405.3 | 151,637 | 8/13/2019 |
4.6.0-preview7.19362.9 | 201,939 | 7/23/2019 |
4.6.0-preview6.19303.8 | 177,539 | 6/12/2019 |
4.6.0-preview6.19264.9 | 1,390 | 9/4/2019 |
4.6.0-preview6.19259.10 | 20,340 | 5/10/2019 |