C# Class Raven.Client.Spatial.GeoJsonReader

Exibir arquivo Open project: sibartlett/RavenDB.Client.Spatial

Public Methods

Method Description
GeoJsonReader ( IShapeConverter shapeConverter ) : System
ReadJson ( Raven.Imports.Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object

Protected Methods

Method Description
TryRead ( RavenJObject json, object &result ) : bool

Private Methods

Method Description
SantizeRavenJObjects ( object obj ) : object
TryParseCoordinate ( RavenJArray coordinates, CoordinateInfo &result ) : bool
TryParseCoordinateArray ( RavenJArray coordinates, CoordinateInfo &result ) : bool
TryParseCoordinateArrayArray ( RavenJArray coordinates, CoordinateInfo &result ) : bool
TryParseCoordinateArrayArrayArray ( RavenJArray coordinates, CoordinateInfo &result ) : bool
TryParseFeature ( RavenJObject obj, object &result ) : bool
TryParseFeatureCollection ( RavenJObject obj, object &result ) : bool
TryParseGeometry ( RavenJObject obj, object &result ) : bool
TryParseGeometryCollection ( RavenJObject obj, object &result ) : bool
TryParseLineString ( RavenJObject obj, object &result ) : bool
TryParseMultiLineString ( RavenJObject obj, object &result ) : bool
TryParseMultiPoint ( RavenJObject obj, object &result ) : bool
TryParseMultiPolygon ( RavenJObject obj, object &result ) : bool
TryParsePoint ( RavenJObject obj, object &result ) : bool
TryParsePolygon ( RavenJObject obj, object &result ) : bool
TryParseTypeString ( RavenJObject obj, string &result ) : bool

Method Details

GeoJsonReader() public method

public GeoJsonReader ( IShapeConverter shapeConverter ) : System
shapeConverter IShapeConverter
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

TryRead() protected method

protected TryRead ( RavenJObject json, object &result ) : bool
json RavenJObject
result object
return bool