JsonNode.WriteTo(Utf8JsonWriter, JsonSerializerOptions) Methode

Definitie

Hiermee schrijft u de JsonNode in de opgegeven Utf8JsonWriter als JSON.

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)

Parameters

options
JsonSerializerOptions

Opties voor het beheren van het serialisatiegedrag.

Uitzonderingen

De writer parameter is null.

Van toepassing op