System.Text.Json
5.0.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.
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Text.Json -Version 5.0.0
dotnet add package System.Text.Json --version 5.0.0
<PackageReference Include="System.Text.Json" Version="5.0.0" />
paket add System.Text.Json --version 5.0.0
#r "nuget: System.Text.Json, 5.0.0"
// Install System.Text.Json as a Cake Addin
#addin nuget:?package=System.Text.Json&version=5.0.0
// Install System.Text.Json as a Cake Tool
#tool nuget:?package=System.Text.Json&version=5.0.0
Release Notes
https://go.microsoft.com/fwlink/?LinkID=799421
Dependencies
-
.NETCoreApp 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETCoreApp 2.1
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
MonoAndroid 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
-
MonoTouch 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
-
UAP 10.0.16299
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
Xamarin.iOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
-
Xamarin.Mac 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
-
Xamarin.TVOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
-
Xamarin.WatchOS 1.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- System.Buffers (>= 4.5.1)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Text.Encodings.Web (>= 5.0.0)
Used By
NuGet packages (1)
Showing the top 1 NuGet packages that depend on System.Text.Json:
| Package | Downloads |
|---|---|
|
Microsoft.Extensions.DependencyModel
Abstractions for reading `.deps` files.
|