package tezos-protocol-genesis

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val schema : ?definitions_path:string -> 'a encoding -> json_schema
val construct : 't encoding -> 't -> json
val destruct : 't encoding -> json -> 't
type path = path_item list
and path_item = [
  1. | `Field of string
  2. | `Index of int
  3. | `Next
  4. | `Star
]
exception Cannot_destruct of path * exn
exception Unexpected of string * string
exception No_case_matched of exn list
exception Bad_array_size of int * int
exception Missing_field of string
exception Unexpected_field of string
val print_error : ?print_unknown:(Format.formatter -> exn -> unit) -> Format.formatter -> exn -> unit
val cannot_destruct : ('a, Format.formatter, unit, 'b) Pervasives.format4 -> 'a
val wrap_error : ('a -> 'b) -> 'a -> 'b
val pp : Format.formatter -> json -> unit
OCaml

Innovation. Community. Security.