System.Net.Http.Json 命名空间

为使用 System.Text.Json 执行自动序列化和反序列化的 HttpClientHttpContent 提供扩展方法。 Provides extension methods for HttpClient and HttpContent that perform automatic serialization and deserialization using System.Text.Json.

HttpClientJsonExtensions

包含要以 JSON 形式发送和接收 HTTP 内容的扩展方法。Contains extension methods to send and receive HTTP content as JSON.

HttpContentJsonExtensions

包含用于读取以及从 JSON 分析 HttpContent 的扩展方法。Contains extension methods to read and then parse the HttpContent from JSON.

JsonContent

提供基于 JSON 的 HTTP 内容。Provides HTTP content based on JSON.