package resto-json
A minimal OCaml library for type-safe HTTP/JSON RPCs
Install
Dune Dependency
Authors
Maintainers
Sources
resto-v0.6.1.tar.gz
md5=aaa32ff0f0b78d2ab231e8bc5227bead
sha512=f362893693e75df8021365a7b3291874ad38f928054e16fc48f9040545d7dcfc60f9c19bd7f00f8e89b3c2c72bea916a425d769b41331da08a222a81968954e9
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)"
>