JsonObject.WriteTo(Utf8JsonWriter, JsonSerializerOptions) Méthode

Définition

Écrit dans JsonNode 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

options
JsonSerializerOptions

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

Exceptions

Le paramètre writer a la valeur null.

S’applique à