package ezjsonm-encoding
Encoding combinators a la Data_encoding for Ezjsonm
Install
Dune Dependency
Authors
Maintainers
Sources
ezjsonm-encoding-1.0.0.tbz
sha256=6d998916ff393d8cf36b00d1603c1088cb54b35b80b1a6e4e1e6edcbc474911a
sha512=74f8bf558898e43d3f29395b004aeee16c8f348bfe2be7c20ff3efbfdcc3d3bda8938154240a07ccc9ab24cd6d10feabdb46ff9954cf191baffbaad36ff77b43
Description
Published: 10 Jan 2024
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 toZarith
(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
).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page