Skip to content

StreamIdJsonConverter.WriteAsPropertyName(Utf8JsonWriter, StreamId, JsonSerializerOptions)

WriteAsPropertyName(Utf8JsonWriter, StreamId, JsonSerializerOptions)

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

Parameters

writerUtf8JsonWriter
The System.Text.Json.Utf8JsonWriter to write to.
valueStreamId
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.