Skip to content

TaskIdJsonConverter.WriteAsPropertyName(Utf8JsonWriter, TaskId, JsonSerializerOptions)

WriteAsPropertyName(Utf8JsonWriter, TaskId, JsonSerializerOptions)

override
View source
public override void WriteAsPropertyName(Utf8JsonWriter writer, TaskId value, JsonSerializerOptions options)
Writes a dictionary key as a JSON property name.

Parameters

writerUtf8JsonWriter
The System.Text.Json.Utf8JsonWriter to write to.
valueTaskId
The value to convert. The value of System.Text.Json.Serialization.JsonConverter.HandleNull determines if the converter handles null values.
optionsJsonSerializerOptions
The options to use when writing the value.