HoverContentsConverter.WriteJson(JsonWriter, Object, JsonSerializer) Method

Definition

Serializes an object to json. The object can be either a single object of type MarkedString, String, or MarkupContent. Or the object can be an array containing object of type MarkedString and String.

public:
 override void WriteJson(Newtonsoft::Json::JsonWriter ^ writer, System::Object ^ value, Newtonsoft::Json::JsonSerializer ^ serializer);
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

Writer to write the json value to.

value
Object

Value to serialize.

serializer
Newtonsoft.Json.JsonSerializer

Default serializer.

Applies to