JsonObject.WriteTo(Utf8JsonWriter, JsonSerializerOptions) Méthode

Définition

Écrit le JsonNode contenu dans le fichier JSON fourni Utf8JsonWriter .

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

Paramètres

writer
Utf8JsonWriter

L’attribut Utf8JsonWriter.

options
JsonSerializerOptions

Options pour contrôler le comportement de sérialisation.

Exceptions

Le writer paramètre est null.

S’applique à