GeoJSON::Object
Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
GeoJSON Object
A GeoJSON object represents a Geometry, Feature, or collection of Features.
- A GeoJSON object is a JSON object.
- A GeoJSON object has a member with the name "type". The value of
the member MUST be one of the GeoJSON types.
Point,MultiPoint,LineString,MultiLineString,Polygon,MultiPolygon,GeometryCollection,Feature, andFeatureCollection - A GeoJSON object MAY have a "bbox" member, the value of which MUST be a bounding box array
- A GeoJSON object MAY have other members
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type
Source