共用方式為


TextDocumentSyncConverter Class

Definition

Converter which offers custom serialization for TextDocumentSyncKind enum to a TextDocumentSyncOptions object.

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

Remarks

This is to support backwards compatibility for the protocol.

Constructors

TextDocumentSyncConverter()

Methods

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

Deserializes a json value to a TextDocumentSyncOptions object.

WriteJson(JsonWriter, Object, JsonSerializer) Newtonsoft.Json.JsonConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)

Applies to