Table of Contents

Class JobIdJsonConverter

Namespace
Millrace
Assembly
Millrace.dll

Serializes JobId as a bare GUID string rather than an object.

public sealed class JobIdJsonConverter : JsonConverter<JobId>
Inheritance
JobIdJsonConverter
Inherited Members

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type JobId.

ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads a dictionary key from a JSON property name.

Write(Utf8JsonWriter, JobId, JsonSerializerOptions)

Writes a specified value as JSON.

WriteAsPropertyName(Utf8JsonWriter, JobId, JsonSerializerOptions)

Writes a dictionary key as a JSON property name.