Author Benjamin Canou <benjamin@ocamlpro.com>
License LGPLv3 w/ linking exception
Homepage https://github.com/ocamlpro/ocplib-json-typed
Issue Tracker https://github.com/ocamlpro/ocplib-json-typed/issues
Maintainer Benjamin Canou <benjamin@ocamlpro.com>
& ocamlfind
uri >= 1.9.0
Optional dependencies
| js_of_ocaml
Available ocaml-version >= "4.02.0"
Published Feb 23, 2017
Source [http] http://github.com/OCamlPro/ocplib-json-typed/archive/v0.5.tar.gz
Statistics Installed 14 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/ocplib-json-typed/ocplib-json-typed.0.5/opam

Type-aware JSON and JSON schema utilities

Can be used with any JSON library.

This library currently contains five modules:

  • Json_encoding: Mappings between OCaml types and JSON structures. Encodings are used to produce readers, writers and JSON schemas for format documentation and interoperability.
  • Json_schema: Manual creation and manipulation of JSON schemas.
  • Json_query: Simple manipulations of JSON documents (extraction, injection, merging, etc.).
  • Json_repr: Modular abstraction over JSON representations. Includes Ezjsonm and Yojson representations.
  • Json_repr_bson: Implementation of the JSON compatible subset of BSON, with a Json_repr compatible interface. Built only if ocplib-endian is present.
  • Json_repr_browser: Json_repr interface over JavaScript's objects. Built only if js_of_ocaml is present.
Necessary for