FlexibleGuidJsonConverter.Read method
Reads a GUID from the current JSON string value.
public override Guid Read(ref Utf8JsonReader reader, Type typeToConvert,
JsonSerializerOptions options)
| parameter | description |
|---|---|
| reader | The JSON reader positioned at the value to convert. |
| typeToConvert | The target type for conversion. |
| options | The serializer options for the conversion. |
Return Value
The parsed GUID.
Exceptions
| exception | condition |
|---|---|
| JsonException | The string cannot be parsed as a GUID. |
See Also
- class FlexibleGuidJsonConverter
- namespace ParallelModel.Sdk.Converters