Method Write
- Namespace
- MailFathom.Application.Jobs
- Assembly
- MailFathom.Application.dll
Write(Utf8JsonWriter, JobType, JsonSerializerOptions)
Writes a specified value as JSON.
public override void Write(Utf8JsonWriter writer, JobType value, JsonSerializerOptions options)
Parameters
writerUtf8JsonWriterThe writer to write to.
valueJobTypeThe value to convert to JSON.
optionsJsonSerializerOptionsAn object that specifies serialization options to use.
Exceptions
- JsonException
Thrown when the value is the unspecified struct default.