sig
type t =
[ `List_of_query_descriptions of (string * string) list
| `List_of_target_flat_states of (string * Target.State.Flat.t) list
| `List_of_target_ids of string list
| `List_of_target_summaries of (string * Target.Summary.t) list
| `List_of_targets of Target.t list
| `Ok
| `Query_error of string
| `Query_result of string
| `Server_status of Ketrew_pure.Protocol.Server_status.t ]
val to_json : t -> Yojson.Safe.json
val of_json_exn : Yojson.Safe.json -> t
val serialize : t -> string
val deserialize_exn : string -> t
end