C# Class Mandrill.Models.WebHookMessage.MetadataConverter

The metadata converter.
Inheritance: Newtonsoft.Json.JsonConverter
Mostra file Open project: shawnmclean/Mandrill-dotnet

Public Methods

Method Description
CanConvert ( Type objectType ) : bool

The can convert.

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

The read json.

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

The write json.

Method Details

CanConvert() public method

The can convert.
public CanConvert ( Type objectType ) : bool
objectType System.Type /// The object type. ///
return bool

ReadJson() public method

The read json.
public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader /// The reader. ///
objectType System.Type /// The object type. ///
existingValue object /// The existing value. ///
serializer Newtonsoft.Json.JsonSerializer /// The serializer. ///
return object

WriteJson() public method

The write json.
///
public WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter /// The writer. ///
value object /// The value. ///
serializer Newtonsoft.Json.JsonSerializer /// The serializer. ///
return void