TextDocumentSyncConverter.ReadJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.