JsonNode.WriteTo(Utf8JsonWriter, JsonSerializerOptions) Methode

Definition

Schreibt den JsonNode als JSON-Code in das bereitgestellte Utf8JsonWriter .

public abstract void WriteTo (System.Text.Json.Utf8JsonWriter writer, System.Text.Json.JsonSerializerOptions? options = default);
abstract member WriteTo : System.Text.Json.Utf8JsonWriter * System.Text.Json.JsonSerializerOptions -> unit
Public MustOverride Sub WriteTo (writer As Utf8JsonWriter, Optional options As JsonSerializerOptions = Nothing)

Parameter

options
JsonSerializerOptions

Optionen zum Steuern des Serialisierungsverhaltens.

Ausnahmen

Der writer-Parameter ist null.

Gilt für: