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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de