DownstreamApiOptions.Deserializer Property

Definition

Optional de-serializer. Will de-serialize the output from the web API (if any). When not provided, the following is returned: JsonSerializer.Deserialize<TOutput>(content, new JsonSerializerOptions { PropertyNameCaseInsensitive = true });

public Func<System.Net.Http.HttpContent?,object?>? Deserializer { get; set; }
member this.Deserializer : Func<System.Net.Http.HttpContent, obj> with get, set
Public Property Deserializer As Func(Of HttpContent, Object)

Property Value

Remarks

This property cannot be set in the configuration. It's code only.

Applies to