Partager via


DiscriminatedTypeJsonConverter<TBase>.WriteJson Method

Definition

Newtonsoft.Json.JsonConverter`1.WriteJson(Newtonsoft.Json.JsonWriter,`0,Newtonsoft.Json.JsonSerializer)
public:
 override void WriteJson(Newtonsoft::Json::JsonWriter ^ writer, TBase value, Newtonsoft::Json::JsonSerializer ^ serializer);
public override void WriteJson (Newtonsoft.Json.JsonWriter writer, TBase? value, Newtonsoft.Json.JsonSerializer serializer);
override this.WriteJson : Newtonsoft.Json.JsonWriter * 'Base * Newtonsoft.Json.JsonSerializer -> unit
Public Overrides Sub WriteJson (writer As JsonWriter, value As TBase, serializer As JsonSerializer)

Parameters

writer
Newtonsoft.Json.JsonWriter
value
TBase
serializer
Newtonsoft.Json.JsonSerializer

Applies to