package ezjsonm-encoding
Encoding combinators a la Data_encoding for Ezjsonm
Install
Dune Dependency
Authors
Maintainers
Sources
ezjsonm-encoding-2.1.0.tbz
sha256=a91f0d9f7a4bd4adf7a9304b90495aaac4e32e3b9db48f0831ed0610ad3ca96e
sha512=68252b15b8b00a1a97edf0d51b97fd5b3e61a640ce68602ba93473c46576af037453148c16ec3fa3b0af83f2358a863928ce0ec761a9193669632cb76a4d1a0d
Description
Published: 22 Aug 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