Class GeoJsonFeatureConverter
Inheritance
System.Object
Newtonsoft.Json.JsonConverter
NetTopologySuite.IO.Converters.FeatureConverter
GeoJsonFeatureConverter
Inherited Members
NetTopologySuite.IO.Converters.FeatureConverter.WriteJson(Newtonsoft.Json.JsonWriter, System.Object, Newtonsoft.Json.JsonSerializer)
Newtonsoft.Json.JsonConverter.CanRead
Newtonsoft.Json.JsonConverter.CanWrite
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.Data.Providers
Assembly: Mars.Common.dll
Syntax
public class GeoJsonFeatureConverter : FeatureConverter
Constructors
| Improve this Doc View SourceGeoJsonFeatureConverter(InputConfiguration)
Declaration
public GeoJsonFeatureConverter(InputConfiguration inputConfiguration)
Parameters
Type | Name | Description |
---|---|---|
InputConfiguration | inputConfiguration |
Methods
| Improve this Doc View SourceCanConvert(Type)
Determines whether this instance can convert the specified object type.
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | objectType | Type of the object. |
Returns
Type | Description |
---|---|
System.Boolean |
true if this instance can convert the specified object type; otherwise, false .
|
Overrides
NetTopologySuite.IO.Converters.FeatureConverter.CanConvert(System.Type)
|
Improve this Doc
View Source
ReadJson(JsonReader, Type, Object, JsonSerializer)
Reads the JSON representation of the object.
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonReader | reader | The Newtonsoft.Json.JsonReader to read from. |
System.Type | objectType | Type of the object. |
System.Object | existingValue | The existing value of object being read. |
Newtonsoft.Json.JsonSerializer | serializer | The calling serializer. |
Returns
Type | Description |
---|---|
System.Object | The object value. |
Overrides
NetTopologySuite.IO.Converters.FeatureConverter.ReadJson(Newtonsoft.Json.JsonReader, System.Type, System.Object, Newtonsoft.Json.JsonSerializer)