System.Text.Json
5.0.0-preview.1.20120.5
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Text.Json -Version 5.0.0-preview.1.20120.5
dotnet add package System.Text.Json --version 5.0.0-preview.1.20120.5
<PackageReference Include="System.Text.Json" Version="5.0.0-preview.1.20120.5" />
paket add System.Text.Json --version 5.0.0-preview.1.20120.5
#r "nuget: System.Text.Json, 5.0.0-preview.1.20120.5"
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=5.0.0-preview.1.20120.5&prerelease
// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=5.0.0-preview.1.20120.5&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)
- System.Memory (>= 4.5.3)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
- System.Threading.Tasks.Extensions (>= 4.5.2)
-
.NETCoreApp 2.1
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
.NETCoreApp 3.0
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
.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 (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
- 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 (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
- 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 (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
MonoTouch 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
net5.0
- No dependencies.
-
UAP 10.0.16299
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Memory (>= 4.5.3)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
- 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 (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
Xamarin.Mac 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
Xamarin.TVOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
-
Xamarin.WatchOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- System.Buffers (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0-preview.1.20120.5)
- System.Text.Encodings.Web (>= 5.0.0-preview.1.20120.5)
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 (355)
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 | 8,892 | 6/14/2022 |
7.0.0-preview.4.22229.4 | 27,737 | 5/10/2022 |
7.0.0-preview.3.22175.4 | 23,211 | 4/13/2022 |
7.0.0-preview.2.22152.2 | 28,123 | 3/14/2022 |
7.0.0-preview.1.22076.8 | 31,009 | 2/17/2022 |
6.0.5 | 132,977 | 6/14/2022 |
6.0.4 | 801,964 | 5/10/2022 |
6.0.3 | 900,284 | 4/12/2022 |
6.0.2 | 4,694,920 | 2/8/2022 |
6.0.2-mauipre.1.22102.15 | 12,880 | 2/15/2022 |
6.0.2-mauipre.1.22054.8 | 75,752 | 1/19/2022 |
6.0.1 | 4,768,995 | 12/14/2021 |
6.0.0 | 30,468,045 | 11/8/2021 |
6.0.0-rc.2.21480.5 | 290,106 | 10/12/2021 |
6.0.0-rc.1.21451.13 | 246,915 | 9/14/2021 |
6.0.0-preview.7.21377.19 | 178,251 | 8/10/2021 |
6.0.0-preview.6.21352.12 | 106,999 | 7/14/2021 |
6.0.0-preview.5.21301.5 | 83,828 | 6/15/2021 |
6.0.0-preview.4.21253.7 | 75,413 | 5/24/2021 |
6.0.0-preview.3.21201.4 | 181,915 | 4/8/2021 |
6.0.0-preview.2.21154.6 | 105,681 | 3/11/2021 |
6.0.0-preview.1.21102.12 | 132,019 | 2/12/2021 |
5.0.2 | 33,172,416 | 4/6/2021 |
5.0.1 | 17,624,641 | 1/12/2021 |
5.0.0 | 39,383,231 | 11/9/2020 |
5.0.0-rc.2.20475.5 | 154,098 | 10/13/2020 |
5.0.0-rc.1.20451.14 | 278,244 | 9/14/2020 |
5.0.0-preview.8.20407.11 | 84,263 | 8/25/2020 |
5.0.0-preview.7.20364.11 | 153,538 | 7/21/2020 |
5.0.0-preview.6.20305.6 | 64,590 | 6/25/2020 |
5.0.0-preview.5.20278.1 | 67,590 | 6/10/2020 |
5.0.0-preview.4.20251.6 | 114,774 | 5/18/2020 |
5.0.0-preview.3.20214.6 | 210,328 | 4/23/2020 |
5.0.0-preview.2.20160.6 | 112,056 | 4/2/2020 |
5.0.0-preview.1.20120.5 | 70,347 | 3/16/2020 |
4.7.2 | 95,463,920 | 5/12/2020 |
4.7.1 | 33,163,580 | 2/18/2020 |
4.7.0 | 40,064,308 | 12/3/2019 |
4.7.0-preview3.19551.4 | 255,510 | 11/13/2019 |
4.7.0-preview2.19523.17 | 47,573 | 11/1/2019 |
4.7.0-preview1.19504.10 | 78,675 | 10/15/2019 |
4.6.0 | 134,391,370 | 9/23/2019 |
4.6.0-rc1.19456.4 | 160,262 | 9/16/2019 |
4.6.0-preview9.19421.4 | 213,361 | 9/4/2019 |
4.6.0-preview9.19416.11 | 443 | 9/4/2019 |
4.6.0-preview8.19405.3 | 151,388 | 8/13/2019 |
4.6.0-preview7.19362.9 | 201,704 | 7/23/2019 |
4.6.0-preview6.19303.8 | 177,380 | 6/12/2019 |
4.6.0-preview6.19264.9 | 1,381 | 9/4/2019 |
4.6.0-preview6.19259.10 | 20,326 | 5/10/2019 |