Kappa_data_structures.Result_utilSourceThe subset of Cohttp.Code.status we need
val write_t :
(Buffer.t -> 'ok -> unit) ->
(Buffer.t -> 'error -> unit) ->
Buffer.t ->
('ok, 'error) t ->
unitOutput a JSON value of type t.
val string_of_t :
(Buffer.t -> 'ok -> unit) ->
(Buffer.t -> 'error -> unit) ->
?len:int ->
('ok, 'error) t ->
stringSerialize a value of type t into a JSON string.
val read_t :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'ok) ->
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'error) ->
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
('ok, 'error) tInput JSON data of type t.
val t_of_string :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'ok) ->
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'error) ->
string ->
('ok, 'error) tDeserialize JSON data of type t.