Module Jsonrpc.Packet

type t =
  1. | Notification of Notification.t
  2. | Request of Request.t
  3. | Response of Response.t
  4. | Batch_response of Response.t list
  5. | Batch_call of [ `Request of Request.t | `Notification of Notification.t ] list
include Json.Jsonable.S with type t := t
val yojson_of_t : t -> Json.t
val t_of_yojson : Json.t -> t