Partager via


TextDocumentSyncConverter.ReadJson Method

Definition

Deserializes a json value to a TextDocumentSyncOptions object.

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);
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

A TextDocumentSyncOptions which matches the json value.

Applies to