C# Class Raven.Client.Spatial.NetTopologySuite.GeoJsonConverter

Inheritance: Raven.Imports.Newtonsoft.Json.JsonConverter
Show file Open project: sibartlett/RavenDB.Client.Spatial

Public Methods

Method Description
CanConvert ( Type objectType ) : bool
GeoJsonConverter ( ) : System
GeoJsonConverter ( IGeometryFactory geometryFactory ) : System
ReadJson ( Raven.Imports.Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : void

Method Details

CanConvert() public method

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

GeoJsonConverter() public method

public GeoJsonConverter ( ) : System
return System

GeoJsonConverter() public method

public GeoJsonConverter ( IGeometryFactory geometryFactory ) : System
geometryFactory IGeometryFactory
return System

ReadJson() public method

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

WriteJson() public method

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