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