C# Class Smartsheet.Api.Internal.Json.JsonEnumTypeConverter

Inheritance: Newtonsoft.Json.JsonConverter
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

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

Private Methods

Method Description
IsNullableType ( Type t ) : bool

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, Newtonsoft serializer ) : object
reader Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer Newtonsoft
return object

WriteJson() public method

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