Partager via


JsonCreationConverter<T>.WriteJson Method

Definition

Writes the JSON representation of the object.

public override void WriteJson (Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer);
override this.WriteJson : Newtonsoft.Json.JsonWriter * obj * Newtonsoft.Json.JsonSerializer -> unit
Public Overrides Sub WriteJson (writer As JsonWriter, value As Object, serializer As JsonSerializer)

Parameters

writer
Newtonsoft.Json.JsonWriter

The Newtonsoft.Json.JsonWriter to write to.

value
Object

The value.

serializer
Newtonsoft.Json.JsonSerializer

The calling serializer.

Applies to