PayloadSerializer.ConvertFromJsonObject<T>(Object) Method
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.
Converts the JSON object using the serializer.
public abstract T ConvertFromJsonObject<T> (object jsonObjectToConvert);
abstract member ConvertFromJsonObject : obj -> 'T
Public MustOverride Function ConvertFromJsonObject(Of T) (jsonObjectToConvert As Object) As T
Type Parameters
- T
The type to convert to.
Parameters
- jsonObjectToConvert
- Object
The object to convert.
Returns
A converted object
Remarks
This class is used to attempt to convert from the native serializer type (for example, JObject or JsonElement) to the desired type. When implementing this, be aware of what type the serializer will use for anonymous types.
Applies to
Azure SDK for .NET
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