Method Read
- Namespace
- MailFathom.Domain.Mutations
- Assembly
- MailFathom.Domain.dll
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type MailboxMutationLifecycle.
public override MailboxMutationLifecycle Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
readerUtf8JsonReaderThe reader.
typeToConvertTypeThe type to convert.
optionsJsonSerializerOptionsAn object that specifies serialization options to use.
Returns
- MailboxMutationLifecycle
The converted value.
Exceptions
- JsonException
Thrown when the token is not a string or does not name a declared lifecycle.