struct GeoJSON::PseudoGeometryConverter

Overview

A PseudoGeometryConverter handles deserialization and serialization of geometry elements in GeoJSON features.

Defined in:

geojson/geometry/pseudo_geometry_converter.cr

Constructors

Class Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.from_json(parser : JSON::PullParser) #

Creates a Geometry or GeometryCollection from the given GeoJSON string.


[View source]
def self.to_json(value, builder : JSON::Builder) #

Serializes a Geometry or GeometryCollection by passing the builder to its #to_json method.


[View source]