編集

次の方法で共有


HttpContentJsonExtensions Class

Definition

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