Share via


JsonValueReaderWriter.ToJson(Utf8JsonWriter, Object) Method

Definition

Writes the value to JSON.

public abstract void ToJson (System.Text.Json.Utf8JsonWriter writer, object value);
abstract member ToJson : System.Text.Json.Utf8JsonWriter * obj -> unit
Public MustOverride Sub ToJson (writer As Utf8JsonWriter, value As Object)

Parameters

writer
Utf8JsonWriter

The Utf8JsonWriter into which the value should be written.

value
Object

The value to write.

Applies to