Functor Ketrew_pervasives.Json.Versioned.Of_v0 (.ml)

module Of_v0: 
functor (T : sig
type t 
val to_yojson : t -> Yojson.Safe.json
val of_yojson : Yojson.Safe.json ->
[ `Error of bytes | `Ok of t ]
end) -> sig .. end
Parameters:
T : sig type t val to_yojson : t -> Yojson.Safe.json val of_yojson : Yojson.Safe.json -> [ `Error of bytes | `Ok of t ] end

val to_json : T.t -> Yojson.Safe.json
val serialize : T.t -> string
val of_json_exn : Yojson.Safe.json -> T.t
val deserialize_exn : string -> T.t