Share via


HoverContentsConverter Class

Definition

Converter which provides custom serialization for the Contents property.

public ref class HoverContentsConverter : Newtonsoft::Json::JsonConverter
public class HoverContentsConverter : Newtonsoft.Json.JsonConverter
type HoverContentsConverter = class
    inherit JsonConverter
Public Class HoverContentsConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
HoverContentsConverter

Constructors

HoverContentsConverter()

Methods

CanConvert(Type) Newtonsoft.Json.JsonConverter.CanConvert(System.Type)
ReadJson(JsonReader, Type, Object, JsonSerializer)

Deserializes a json value to an object. 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.

WriteJson(JsonWriter, Object, JsonSerializer)

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.

Applies to