package resto-json
A minimal OCaml library for type-safe HTTP/JSON RPCs
Install
Dune Dependency
Authors
Maintainers
Sources
resto-v0.10.tar.gz
md5=c2da6431298aa1cdda43fb703f8c72a4
sha512=5ad6b0c65f8d19e2605e7b743d65a968ddb2b4f0d667b76c7efb73872bae9ba8638f6a78208b90a19c323869ef5815538e145b9e98297f79ea861ca19897ac97
doc/resto-json/Resto_json/index.html
Module Resto_json
Source
A wrapper around json-data-encoding
that exposes the modules expected by Resto
.
Source
module Encoding :
Resto.ENCODING
with type 'a t = 'a Json_encoding.encoding
and type schema = Json_schema.schema
Encoding
exposes the minimal part Json_encoding
that allow to construct new encodings as well as pre-made encodings for values useful to Resto
.
A VALUE
module allows the actual conversion of values between different representations. It is intended as a companion to the Encoding
module above.
Source
module Ezjsonm :
VALUE
with type t = Json_repr.Ezjsonm.value
and type 'a encoding := 'a Encoding.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>