ocplib-json-typed

AuthorBenjamin Canou <benjamin@ocamlpro.com>
LicenseLGPLv3 w/ linking exception
Homepagehttps://github.com/ocamlpro/ocplib-json-typed
Issue Trackerhttps://github.com/ocamlpro/ocplib-json-typed/issues
MaintainerBenjamin Canou <benjamin@ocamlpro.com>
Dependencies
&ocamlfind
uri>= 1.9.0
Optional dependencies
|js_of_ocaml
ocplib-endian
Availableocaml-version >= "4.02.0"
PublishedFeb 23, 2017
Source [http] https://github.com/OCamlPro/ocplib-json-typed/archive/v0.5.tar.gz
138a2eeb2fe6498b3bb749ecba5db801
StatisticsInstalled 23 times last month.
Edithttps://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
ocplib-resto