blob: c179efbee8821c80541517c7f78c9216f1104aed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
(* Auto-generated from "activity.atd" *)
[@@@ocaml.warning "-27-32-35-39"]
type t = Activity_t.t = { name: string; kind: int; url: string option }
val write_t :
Bi_outbuf.t -> t -> unit
(** Output a JSON value of type {!t}. *)
val string_of_t :
?len:int -> t -> string
(** Serialize a value of type {!t}
into a JSON string.
@param len specifies the initial length
of the buffer used internally.
Default: 1024. *)
val read_t :
Yojson.Safe.lexer_state -> Lexing.lexbuf -> t
(** Input JSON data of type {!t}. *)
val t_of_string :
string -> t
(** Deserialize JSON data of type {!t}. *)
|