Skip to content

StreamIdJsonConverter.Write(Utf8JsonWriter, StreamId, JsonSerializerOptions)

Write(Utf8JsonWriter, StreamId, JsonSerializerOptions)

override
View source
public override void Write(Utf8JsonWriter writer, StreamId value, JsonSerializerOptions options)
Writes a specified value as JSON.

Parameters

writerUtf8JsonWriter
The writer to write to.
valueStreamId
The value to convert to JSON.
optionsJsonSerializerOptions
An object that specifies serialization options to use.

Exceptions

System.ArgumentNullException
writer is null.