Module Geojson.Make

A functor that takes a Json parsing implementation and returns a GeoJson parser and constructor.

Parameters

module J : sig ... end

Signature

type json = J.t

The internal representation of JSON

module Geometry : sig ... end
module Feature : sig ... end
type t =
| Feature of Feature.t
| FeatureCollection of Feature.Collection.t
| Geometry of Geometry.t(*

A geojson object

*)
val of_json : json -> (t[ `Msg of string ]) Stdlib.result
val to_json : t -> json
module Random : sig ... end