Partager via


HoverContentsConverter.ReadJson Method

Definition

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.

public:
 override System::Object ^ ReadJson(Newtonsoft::Json::JsonReader ^ reader, Type ^ objectType, System::Object ^ existingValue, Newtonsoft::Json::JsonSerializer ^ serializer);
public override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * obj * Newtonsoft.Json.JsonSerializer -> obj
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As Object, serializer As JsonSerializer) As Object

Parameters

reader
Newtonsoft.Json.JsonReader

Reader from which to read json value.

objectType
Type

Type of the json value.

existingValue
Object

Existing value.

serializer
Newtonsoft.Json.JsonSerializer

Default serializer.

Returns

An object array which matches the json value.

Applies to