DownstreamApiOptions.Deserializer Property
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.
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin