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.
dotnet add package System.Text.Json --version 10.0.6
Install-Package System.Text.Json -Version 10.0.6
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [10.0.6, ) |
| System.IO.Pipelines | [10.0.6, ) |
| System.Text.Encodings.Web | [10.0.6, ) |
| System.Buffers | [4.6.1, ) |
| System.Memory | [4.6.3, ) |
| System.Runtime.CompilerServices.Unsafe | [6.1.2, ) |
| System.Threading.Tasks.Extensions | [4.6.3, ) |
| System.ValueTuple | [4.6.2, ) |
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [10.0.6, ) |
| System.IO.Pipelines | [10.0.6, ) |
| System.Text.Encodings.Web | [10.0.6, ) |
| System.Buffers | [4.6.1, ) |
| System.Memory | [4.6.3, ) |
| System.Runtime.CompilerServices.Unsafe | [6.1.2, ) |
| System.Threading.Tasks.Extensions | [4.6.3, ) |
| 包名 | 版本要求 |
|---|---|
| System.IO.Pipelines | [10.0.6, ) |
| System.Text.Encodings.Web | [10.0.6, ) |
| 包名 | 版本要求 |
|---|---|
| System.IO.Pipelines | [10.0.6, ) |
| System.Text.Encodings.Web | [10.0.6, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2026-04-14 17:02:41 |
| 项目主页 | https://dot.net/ |
| 许可证 | https://www.nuget.org/packages/System.Text.Json/10.0.6/license |