Convert(object, Type)
Converts a deserialized value to a target type.
Declaration
public virtual object Convert(object value, Type targetType)Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value to convert. |
| Type | targetType | The target type to convert to. |
Returns
| Type | Description |
|---|---|
| object | The converted value. |