package ocplib-json-typed

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.5.tar.gz
sha256=288cfc974777d80d252a80ee94c48661edd54a70fb89a2ed3f4e09ba2a9c68da
md5=138a2eeb2fe6498b3bb749ecba5db801

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: 23 Feb 2017

Dependencies (3)

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

Dev Dependencies

None

Used by (5)

  1. ke >= "0.5"
  2. ocplib-resto
  3. ppx_deriving_encoding < "0.2.2"
  4. resto < "0.3"
  5. syndic >= "1.6.0"

Conflicts (1)

  1. js_of_ocaml >= "3.4.0"
OCaml

Innovation. Community. Security.