package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception DestructError
type destruct_error = [
  1. | `destruct_exn of exn
]
val destruct : 'a Json_encoding.encoding -> string -> 'a
val destruct_res : 'a Json_encoding.encoding -> string -> ('a, [> destruct_error ]) Stdlib.result
val construct : ?compact:bool -> 'a Json_encoding.encoding -> 'a -> string
module Ezjsonm : sig ... end
val encoded_string : string Json_encoding.encoding
val int64 : Stdlib.Int64.t Json_encoding.encoding
val tup1_int : int Json_encoding.encoding
val tup1_int64 : int64 Json_encoding.encoding
val tup1_string : string Json_encoding.encoding
val register : ?name:string -> ?descr:string -> 'a Json_encoding.encoding -> unit
val merge_objs : ?name:string -> ?descr:string -> 'a Json_encoding.encoding -> 'b Json_encoding.encoding -> ('a * 'b) Json_encoding.encoding
val result : 'a Json_encoding.encoding -> 'b Json_encoding.encoding -> ('a, 'b) Stdlib.result Json_encoding.encoding
val enc_constant : 'a Json_encoding.encoding -> 'a -> unit Json_encoding.encoding
OCaml

Innovation. Community. Security.