Jsont describes JSON data structures in OCaml with codec combinators. The resulting typed descriptions enable backend JSON codecs to encode and decode these structures from/to OCaml values.

Jsont's codecs can be used with different backends. The library comes with a Jsonm backend and JavaScript backend that depends on js_of_ocaml and uses the browsers' builtin JSON codecs.

Jsont and its backends are distributed under the BSD3 license.

Warning. This software is in development and unreleased, interfaces are subject to change without notice. If you want to suffer:

# With opam 1.2 or later 
opam pin add jsont http://erratique.ch/repos/jsont.git