package resto-json

  1. Overview
  2. Docs
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_jsonSource

A wrapper around json-data-encoding that exposes the modules expected by Resto.

Encoding exposes the minimal part Json_encoding that allow to construct new encodings as well as pre-made encodings for values useful to Resto.

Sourcemodule type VALUE = sig ... end

A VALUE module allows the actual conversion of values between different representations. It is intended as a companion to the Encoding module above.

Sourcemodule Ezjsonm : VALUE with type t = Json_repr.Ezjsonm.value and type 'a encoding := 'a Encoding.t
Sourcemodule Bson : VALUE with type t = Json_repr_bson.bson and type 'a encoding := 'a Encoding.t
OCaml

Innovation. Community. Security.