JsonValueReaderWriter<TValue>.ToJson(Utf8JsonWriter, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Écrit la valeur au format 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)
Paramètres
- writer
- Utf8JsonWriter
dans Utf8JsonWriter lequel la valeur doit être écrite.
- value
- Object
Valeur à écrire.