package serde

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

Innovation. Community. Security.