Compartilhar via


ExtensibleEnumConverter<T>.WriteJson Método

Definição

Serializa um ExtensibleEnum para uma cadeia de caracteres JSON.

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)

Parâmetros

writer
Newtonsoft.Json.JsonWriter

O gravador JSON.

value
Object

O valor a ser serializado.

serializer
Newtonsoft.Json.JsonSerializer

Ignorado por esse método.

Aplica-se a