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
dotnet add package System.Text.Json --version 6.0.0
Install-Package System.Text.Json -Version 6.0.0
| 包名 | 版本要求 |
|---|---|
| System.Runtime.CompilerServices.Unsafe | [6.0.0, ) |
| System.Text.Encodings.Web | [6.0.0, ) |
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [6.0.0, ) |
| System.Runtime.CompilerServices.Unsafe | [6.0.0, ) |
| System.Text.Encodings.Web | [6.0.0, ) |
| System.Buffers | [4.5.1, ) |
| System.Memory | [4.5.4, ) |
| System.Numerics.Vectors | [4.5.0, ) |
| System.Threading.Tasks.Extensions | [4.5.4, ) |
| System.ValueTuple | [4.5.0, ) |
| 包名 | 版本要求 |
|---|---|
| Microsoft.Bcl.AsyncInterfaces | [6.0.0, ) |
| System.Runtime.CompilerServices.Unsafe | [6.0.0, ) |
| System.Text.Encodings.Web | [6.0.0, ) |
| System.Buffers | [4.5.1, ) |
| System.Memory | [4.5.4, ) |
| System.Numerics.Vectors | [4.5.0, ) |
| System.Threading.Tasks.Extensions | [4.5.4, ) |
| 包名 | 版本要求 |
|---|---|
| System.Runtime.CompilerServices.Unsafe | [6.0.0, ) |
| System.Text.Encodings.Web | [6.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2021-11-08 06:35:35 |
| 项目主页 | https://dot.net/ |
| 许可证 | https://www.nuget.org/packages/System.Text.Json/6.0.0/license |