Delen via


JsonValueReaderWriter<TValue>.ToJson(Utf8JsonWriter, Object) Method

Definition

Writes the value to JSON.

public override sealed void ToJson (System.Text.Json.Utf8JsonWriter writer, object value);
override this.ToJson : System.Text.Json.Utf8JsonWriter * obj -> unit
Public Overrides NotOverridable 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