C# Class com.openrest.v1_1.RequestJsonConvertor

Inheritance: Newtonsoft.Json.JsonConverter
Show file Open project: wix/openrest4net

Public Methods

Method Description
CanConvert ( Type objectType ) : bool
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, Object value, JsonSerializer serializer ) : void

Private Methods

Method Description
GetType ( Newtonsoft.Json.Linq.JObject jObject ) : Type

Method Details

CanConvert() public method

public CanConvert ( Type objectType ) : bool
objectType System.Type
return bool

ReadJson() public method

public ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft.Json.JsonSerializer
return object

WriteJson() public method

public WriteJson ( JsonWriter writer, Object value, JsonSerializer serializer ) : void
writer Newtonsoft.Json.JsonWriter
value Object
serializer Newtonsoft.Json.JsonSerializer
return void