Method Write
Write(Utf8JsonWriter, Key, JsonSerializerOptions)
Writes a specified value as JSON.
public override void Write(Utf8JsonWriter writer, Key value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWriterThe writer to write to.
value
KeyThe value to convert to JSON.
options
JsonSerializerOptionsAn object that specifies serialization options to use.