Method Read
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type IRelativePath.
Declaration
public override IRelativePath Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonReader | reader | The reader. |
| Type | typeToConvert | The type to convert. |
| JsonSerializerOptions | options | An object that specifies serialization options to use. |
Returns
| Type | Description |
|---|---|
| IRelativePath | The converted value. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| JsonException | The JSON value is not a string or it is not a valid path. |