package resto-json
-
resto-json
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Encoding
exposes the minimal part Json_encoding
that allow to construct new encodings as well as pre-made encodings for values useful to Resto
.
It also makes the type of encodings 'a t
concrete ('a
Json_encoding.encodings
) which allows for further use -- see VALUE
.
type 'a t = 'a Json_encoding.encoding
type schema = Json_schema.schema
val unit : unit t
val untyped : string t
val description_request_encoding : Resto.Description.request t
val description_answer_encoding : schema Resto.Description.directory t