Share via


JsonDataConverter.Deserialize(String, Type) Method

Definition

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.

Applies to