Table of Contents

Class UserCredentialMethodJsonConverter

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

Reads and writes a credential method as its published name.

public sealed class UserCredentialMethodJsonConverter : JsonConverter<UserCredentialMethod>
Inheritance
UserCredentialMethodJsonConverter
Inherited Members

Remarks

The name rather than an ordinal, for the reason the type gives: what is serialized is read by an operator and matched by a client, and neither has the assembly to hand.

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type UserCredentialMethod.

ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads a dictionary key from a JSON property name.

Write(Utf8JsonWriter, UserCredentialMethod, JsonSerializerOptions)

Writes a specified value as JSON.

WriteAsPropertyName(Utf8JsonWriter, UserCredentialMethod, JsonSerializerOptions)

Writes a dictionary key as a JSON property name.