Extension methods for System.Net.Http.HttpResponseMessage to simplify JSON deserialization.
public static class HttpResponseMessageExtensions
Task<T> DeserializeAsync(this HttpResponseMessage httpResponseMessage, JsonSerializerOptions jsonSerializerOptions = null)Summary: Deserializes the HTTP response content to the specified type using JSON.
Parameters:
httpResponseMessage- The HTTP response message.
jsonSerializerOptions- Optional JSON serializer options. Uses default options if not specified.Returns: A task representing the asynchronous operation, containing the deserialized object.
Generated by MarkdownCodeDoc version 1.2