package ezjsonm-encoding

All checked builds pass
  1. Overview
  2. Docs
Encoding combinators a la Data_encoding for Ezjsonm

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ezjsonm-encoding-2.1.0.tbz
sha256=a91f0d9f7a4bd4adf7a9304b90495aaac4e32e3b9db48f0831ed0610ad3ca96e
sha512=68252b15b8b00a1a97edf0d51b97fd5b3e61a640ce68602ba93473c46576af037453148c16ec3fa3b0af83f2358a863928ce0ec761a9193669632cb76a4d1a0d

Description

Added to opam-repository:

README

ezjsonm-encoding

ezjsonm-encoding is an encoding combinators library for Ezjsonm whose API is heavily inspired by data-encoding.

The two main differences between ezjsonm-encoding and the JSON support of data-encoding are:

  • objN combinators accept JSON objects with more fields than the one explicitely specified in the encoding.
  • ezjsonm-encoding does not have a dependency to Zarith (which depends on GMP). As a consequence, ezjsonm-encoding does not provide support for big numbers out of the box.

ezjsonm-encoding is packaged and build with Dune. A Makefile is provided for convinience purposes.

# Install the minimum to build the library
make build-deps
# Install development dependencies as well
make build-dev-deps

In both cases, a local switch is created. Use the variable OCAML_COMPILER to control which compiler is installed (defaults to ocaml-system).

Dependencies (3)

  1. ezjsonm >= "1.2.0"
  2. ocaml >= "4.8.0"
  3. dune >= "3.0"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

Build status

Results of building ezjsonm-encoding with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
2.1.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure