package jsonrpc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Error : sig ... end
type t = {
  1. id : Id.t;
  2. result : (Yojson.Safe.t, Error.t) Result.t;
}
val ok : Id.t -> Yojson.Safe.t -> t
val error : Id.t -> Error.t -> t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.