package resto-json

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Resto_json.EncodingSource

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.

Sourceval unit : unit t
Sourceval untyped : string t
Sourceval conv : ('a -> 'b) -> ('b -> 'a) -> 'b t -> 'a t
Sourceval schema : ?definitions_path:string -> 'a t -> schema
Sourceval description_request_encoding : Resto.Description.request t
Sourceval description_answer_encoding : schema Resto.Description.directory t