package ocplib-json-typed

  1. Overview
  2. Docs
Type-aware JSON and JSON schema utilities

Install

Dune Dependency

Authors

Maintainers

Sources

v0.6.tar.gz
sha256=9de9cbf1e21729de80bf5ef85e08d47cbb9b21975114125eb877c58ce9aea470
md5=833e7f4cbf796f9b18c4e39d7d8af738

Description

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.

Published: 25 Feb 2018

Dependencies (3)

  1. uri >= "1.9.0"
  2. ocamlfind build
  3. ocaml >= "4.02.0"

Dev Dependencies

None

Used by (7)

  1. ke >= "0.5"
  2. learn-ocaml < "0.13.0"
  3. learn-ocaml-client < "0.13.0"
  4. ocplib-resto
  5. ppx_deriving_encoding < "0.2.2"
  6. resto < "0.3"
  7. syndic >= "1.6.0"

Conflicts (1)

  1. js_of_ocaml >= "3.4.0"
OCaml

Innovation. Community. Security.