System.Text.Json
8.0.0-preview.2.23128.3
dotnet add package System.Text.Json --version 8.0.0-preview.2.23128.3
NuGet\Install-Package System.Text.Json -Version 8.0.0-preview.2.23128.3
<PackageReference Include="System.Text.Json" Version="8.0.0-preview.2.23128.3" />
paket add System.Text.Json --version 8.0.0-preview.2.23128.3
#r "nuget: System.Text.Json, 8.0.0-preview.2.23128.3"
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=8.0.0-preview.2.23128.3&prerelease
// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=8.0.0-preview.2.23128.3&prerelease
About
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.
The System.Text.Json
library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.
For more information, see the documentation:
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows net8.0 |
.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 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0-preview.2.23128.3)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Encodings.Web (>= 8.0.0-preview.2.23128.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0-preview.2.23128.3)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Encodings.Web (>= 8.0.0-preview.2.23128.3)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net6.0
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Encodings.Web (>= 8.0.0-preview.2.23128.3)
-
net7.0
- System.Text.Encodings.Web (>= 8.0.0-preview.2.23128.3)
-
net8.0
- System.Text.Encodings.Web (>= 8.0.0-preview.2.23128.3)
NuGet packages (4.5K)
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. |
|
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.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens. |
|
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 (469)
Showing the top 5 popular GitHub repositories that depend on System.Text.Json:
Repository | Stars |
---|---|
jellyfin/jellyfin
The Free Software Media System
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
abpframework/abp
Open Source Web Application Framework for ASP.NET Core
|
|
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
|
Version | Downloads | Last updated |
---|---|---|
8.0.0-preview.2.23128.3 | 9,819 | 3/14/2023 |
8.0.0-preview.1.23110.8 | 33,034 | 2/21/2023 |
7.0.2 | 709,205 | 2/14/2023 |
7.0.1 | 2,671,183 | 12/13/2022 |
7.0.0 | 14,985,270 | 11/7/2022 |
7.0.0-rc.2.22472.3 | 178,650 | 10/11/2022 |
7.0.0-rc.1.22426.10 | 133,943 | 9/14/2022 |
7.0.0-preview.7.22375.6 | 108,262 | 8/9/2022 |
7.0.0-preview.6.22324.4 | 77,680 | 7/12/2022 |
7.0.0-preview.5.22301.12 | 62,082 | 6/14/2022 |
7.0.0-preview.4.22229.4 | 78,745 | 5/10/2022 |
7.0.0-preview.3.22175.4 | 58,093 | 4/13/2022 |
7.0.0-preview.2.22152.2 | 50,170 | 3/14/2022 |
7.0.0-preview.1.22076.8 | 61,078 | 2/17/2022 |
6.0.7 | 1,663,227 | 11/7/2022 |
6.0.6 | 8,024,003 | 9/13/2022 |
6.0.5 | 18,303,743 | 6/14/2022 |
6.0.4 | 6,985,785 | 5/10/2022 |
6.0.3 | 4,621,219 | 4/12/2022 |
6.0.2 | 22,704,372 | 2/8/2022 |
6.0.2-mauipre.1.22102.15 | 39,074 | 2/15/2022 |
6.0.2-mauipre.1.22054.8 | 138,289 | 1/19/2022 |
6.0.1 | 13,165,389 | 12/14/2021 |
6.0.0 | 130,688,584 | 11/8/2021 |
6.0.0-rc.2.21480.5 | 439,375 | 10/12/2021 |
6.0.0-rc.1.21451.13 | 330,325 | 9/14/2021 |
6.0.0-preview.7.21377.19 | 229,492 | 8/10/2021 |
6.0.0-preview.6.21352.12 | 135,449 | 7/14/2021 |
6.0.0-preview.5.21301.5 | 101,542 | 6/15/2021 |
6.0.0-preview.4.21253.7 | 86,802 | 5/24/2021 |
6.0.0-preview.3.21201.4 | 236,550 | 4/8/2021 |
6.0.0-preview.2.21154.6 | 131,691 | 3/11/2021 |
6.0.0-preview.1.21102.12 | 166,620 | 2/12/2021 |
5.0.2 | 68,387,133 | 4/6/2021 |
5.0.1 | 29,888,156 | 1/12/2021 |
5.0.0 | 62,922,039 | 11/9/2020 |
5.0.0-rc.2.20475.5 | 178,231 | 10/13/2020 |
5.0.0-rc.1.20451.14 | 311,283 | 9/14/2020 |
5.0.0-preview.8.20407.11 | 94,155 | 8/25/2020 |
5.0.0-preview.7.20364.11 | 194,730 | 7/21/2020 |
5.0.0-preview.6.20305.6 | 70,956 | 6/25/2020 |
5.0.0-preview.5.20278.1 | 75,800 | 6/10/2020 |
5.0.0-preview.4.20251.6 | 131,701 | 5/18/2020 |
5.0.0-preview.3.20214.6 | 259,610 | 4/23/2020 |
5.0.0-preview.2.20160.6 | 137,695 | 4/2/2020 |
5.0.0-preview.1.20120.5 | 78,947 | 3/16/2020 |
4.7.2 | 189,129,385 | 5/12/2020 |
4.7.1 | 43,421,240 | 2/18/2020 |
4.7.0 | 69,331,732 | 12/3/2019 |
4.7.0-preview3.19551.4 | 282,233 | 11/13/2019 |
4.7.0-preview2.19523.17 | 52,380 | 11/1/2019 |
4.7.0-preview1.19504.10 | 84,086 | 10/15/2019 |
4.6.0 | 248,206,435 | 9/23/2019 |
4.6.0-rc1.19456.4 | 168,875 | 9/16/2019 |
4.6.0-preview9.19421.4 | 304,427 | 9/4/2019 |
4.6.0-preview9.19416.11 | 552 | 9/4/2019 |
4.6.0-preview8.19405.3 | 162,817 | 8/13/2019 |
4.6.0-preview7.19362.9 | 220,082 | 7/23/2019 |
4.6.0-preview6.19303.8 | 185,194 | 6/12/2019 |
4.6.0-preview6.19264.9 | 1,817 | 9/4/2019 |
4.6.0-preview6.19259.10 | 21,232 | 5/10/2019 |