package resto-json

  1. Overview
  2. Docs
A minimal OCaml library for type-safe HTTP/JSON RPCs

Install

Dune Dependency

Authors

Maintainers

Sources

resto-v1.2.tar.gz
md5=e8f71db769f34d755669dbf6595ead0f
sha512=454e7f3a43c5d0ef38701103b74dad5b6dc2db1add1e2665ea679e6a1df72d37f3a092eedda0bb86949e408bff52772eb0a18901fa70860b17c5bec7f96e0170

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.