Class PresentationCitationIdJsonConverter
- Namespace
- MailFathom.Application.Discovery.Presentation.Citations
- Assembly
- MailFathom.Application.dll
Serializes PresentationCitationId as the name the plan declares it under.
public sealed class PresentationCitationIdJsonConverter : JsonConverter<PresentationCitationId>
- Inheritance
-
PresentationCitationIdJsonConverter
- Inherited Members
Remarks
The type carries this converter through JsonConverterAttribute, so an identifier read off the wire is held to the same spelling as one composed in process.
Methods
- Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type PresentationCitationId.
- ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads a dictionary key from a JSON property name.
- Write(Utf8JsonWriter, PresentationCitationId, JsonSerializerOptions)
Writes a specified value as JSON.
- WriteAsPropertyName(Utf8JsonWriter, PresentationCitationId, JsonSerializerOptions)
Writes a dictionary key as a JSON property name.