JsonDataConverter.Deserialize(String, Type) 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.
Deserializes data
into an object of type targetType
.
public override object? Deserialize (string? data, Type targetType);
override this.Deserialize : string * Type -> obj
Public Overrides Function Deserialize (data As String, targetType As Type) As Object
Parameters
- data
- String
The text data to be deserialized.
- targetType
- Type
The type to deserialize the text data into.
Returns
Returns a deserialized object or null
if the input is null.