opam-version: "2.0"
maintainer: "Benjamin Canou <benjamin@ocamlpro.com>"
authors: "Benjamin Canou <benjamin@ocamlpro.com>"
homepage: "https://github.com/ocamlpro/ocplib-json-typed"
bug-reports: "https://github.com/ocamlpro/ocplib-json-typed/issues"
license: "LGPL-3.0-only with OCaml-LGPL-linking-exception"
dev-repo: "git+https://github.com/ocamlpro/ocplib-json-typed.git"
build: [make]
install: [make "install"]
remove: [make "uninstall"]
depends: [
  "ocaml" {>= "4.02.0" & < "4.04"}
  "ocamlfind" {build}
  "uri" {>= "1.9.0"}
  "ocplib-endian"
]
depopts: "js_of_ocaml"
conflicts: [
  "js_of_ocaml" {>= "3.4.0"} ]
synopsis: "Type-aware JSON and JSON schema utilities"
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.
- Json_repr_browser:
    Json_repr interface over JavaScript's objects.
    Built only if js_of_ocaml is present."""
url {
  src: "https://github.com/OCamlPro/ocplib-json-typed/archive/v0.4.tar.gz"
  checksum: "md5=eeb2c8ff46390510809b17237cd43afe"
}
