package ppx_yojson_conv

  1. Overview
  2. Docs
type 'a t = ('a, string) result
val unpack : (Yojson.Safe.t -> 'a t) -> Yojson.Safe.t -> 'a
val pack : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a t
val of_exn : exn -> 'a t
OCaml

Innovation. Community. Security.