Module TopojsonSource

Sourcemodule type S = sig ... end

Types for TopoJSON objects

Sourcemodule type Json = sig ... end

Types for the JSON parser. A user must provide a JSON parser to the Make functor in order to have a working TopoJSON library.

Sourcemodule Make (J : Json) : S with type json = J.t

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