package serde

  1. Overview
  2. Docs
val let* : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
val pp_list : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a list -> unit
type error = [
  1. | `invalid_field_type
  2. | `missing_field
  3. | `no_more_data
  4. | `unimplemented
  5. | `invalid_tag
  6. | `Msg of string
  7. | Rio.io_error
]
val pp_err : Stdlib.Format.formatter -> [< `Closed | `Connection_closed | `Eof | `Exn of exn | `Msg of string | `No_info | `Noop | `Process_down | `Timeout | `Unix_error of Unix.error | `Would_block | `invalid_field_type | `invalid_tag | `missing_field | `no_more_data | `unimplemented ] -> unit
module Config : sig ... end
module Ser_base : sig ... end
module Ser : sig ... end
module De_base : sig ... end
module Visitor : sig ... end
module De : sig ... end
module Serializer : sig ... end
module Deserializer : sig ... end
val serialize : 'value 'state 'output. ('state, 'output) Serializer.t -> 'state -> ('value, 'state, 'output) Ser.t -> 'value -> ('output, error) Stdlib.result
val deserialize : 'value 'state. 'state Deserializer.t -> 'state -> ('value, 'state) De.t -> ('value, error) Stdlib.result
OCaml

Innovation. Community. Security.