C# Class OpenQA.Selenium.Chrome.ChromeCommandJsonConverter

Mechanism for Converting ChromeCommands to JSON
Inheritance: Newtonsoft.Json.JsonConverter
显示文件 Open project: epall/selenium

Public Methods

Method Description
CanConvert ( Type objectType ) : bool

Checks if a type can be converted

ReadJson ( JsonReader reader, Type objectType, JsonSerializer serializer ) : object

Method not Implemented

WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Writes an object to JSON

Private Methods

Method Description
ProcessObject ( JsonWriter writer, object value ) : void

Method Details

CanConvert() public method

Checks if a type can be converted
public CanConvert ( Type objectType ) : bool
objectType System.Type Object type to be converted
return bool

ReadJson() public method

Method not Implemented
public ReadJson ( JsonReader reader, Type objectType, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader JSon Reader
objectType System.Type Object type to read from
serializer Newtonsoft.Json.JsonSerializer JSON Serializer
return object

WriteJson() public method

Writes an object to JSON
public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter JSON Writer object
value object Value to be converted
serializer Newtonsoft.Json.JsonSerializer JSON Serializer
return void