HttpContentJsonExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains extension methods to read and then parse the HttpContent from JSON.
public ref class HttpContentJsonExtensions abstract sealed
public static class HttpContentJsonExtensions
type HttpContentJsonExtensions = class
Public Module HttpContentJsonExtensions
- Inheritance
-
HttpContentJsonExtensions
Methods
ReadFromJsonAsAsyncEnumerable<TValue>(HttpContent, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an async enumerable operation. |
ReadFromJsonAsAsyncEnumerable<TValue>(HttpContent, JsonSerializerOptions, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an async enumerable operation. |
ReadFromJsonAsAsyncEnumerable<TValue>(HttpContent, JsonTypeInfo<TValue>, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an async enumerable operation. |
ReadFromJsonAsync(HttpContent, Type, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation. |
ReadFromJsonAsync(HttpContent, Type, JsonSerializerContext, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation. |
ReadFromJsonAsync(HttpContent, Type, JsonSerializerOptions, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation. |
ReadFromJsonAsync<T>(HttpContent, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation. |
ReadFromJsonAsync<T>(HttpContent, JsonSerializerOptions, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation. |
ReadFromJsonAsync<T>(HttpContent, JsonTypeInfo<T>, CancellationToken) |
Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation. |
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin