Table of Contents

Class FactTableColumnJsonConverter

Namespace
MailFathom.Application.Discovery.Presentation.Blocks
Assembly
MailFathom.Application.dll

Serializes FactTableColumn as the identity the catalogue publishes.

public sealed class FactTableColumnJsonConverter : JsonConverter<FactTableColumn>
Inheritance
FactTableColumnJsonConverter
Inherited Members

Remarks

The type carries this converter through JsonConverterAttribute, so a column is written as the name a client keys its heading and its alignment by rather than as a position in a list that may be reordered.

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type FactTableColumn.

ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads a dictionary key from a JSON property name.

Write(Utf8JsonWriter, FactTableColumn, JsonSerializerOptions)

Writes a specified value as JSON.

WriteAsPropertyName(Utf8JsonWriter, FactTableColumn, JsonSerializerOptions)

Writes a dictionary key as a JSON property name.