package serde

  1. Overview
  2. Docs
type ('value, 'state) t = 'state ctx -> ('value, error) Stdlib.result
and 'state ctx = 'state De_base.deserializer * 'state
type ('value, 'state, 'tag) visitor = {
  1. visit_int : 'state ctx -> int -> ('value, error) Stdlib.result;
  2. visit_string : 'state ctx -> string -> ('value, error) Stdlib.result;
}
val deserializer : ('state ctx -> ('value, error) Stdlib.result) -> ('value, 'state) t
module type Deserializer = sig ... end
type 'state deserializer = (module Deserializer with type state = 'state)
OCaml

Innovation. Community. Security.