Jsonc

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

Jsonc'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.

Jsonc and its backends are distributed under the ISC 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 jsonc http://erratique.ch/repos/jsonc.git