Class GeoJsonFeatureConverter
Inheritance
FeatureConverter
GeoJsonFeatureConverter
Assembly: Mars.Common.dll
Syntax
public class GeoJsonFeatureConverter : FeatureConverter
Constructors
Declaration
public GeoJsonFeatureConverter(InputConfiguration inputConfiguration)
Parameters
Methods
CanConvert(Type)
Determines whether this instance can convert the specified object type.
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type |
Name |
Description |
Type |
objectType |
Type of the object. |
Returns
Type |
Description |
System.Boolean |
true if this instance can convert the specified object type; otherwise, false .
|
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 |
JsonReader |
reader |
The Newtonsoft.Json.JsonReader to read from. |
Type |
objectType |
Type of the object. |
System.Object |
existingValue |
The existing value of object being read. |
JsonSerializer |
serializer |
The calling serializer. |
Returns
Type |
Description |
System.Object |
The object value. |
Extension Methods