package topojson

  1. Overview
  2. Docs
module type S = sig ... end

Types for TopoJSON objects

module 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.

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

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