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

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, JsonSerializerOptions, CancellationToken)

Reads the HTTP content and returns the value that results from deserializing the content as JSON in an asynchronous operation.

Applies to