Select the types of activity you want to include in your feed.
json: align json.ml with the .mli convention
Follow-up to the previous .mli alignment: switch the Value module implementation to use [t] instead of [json] in its constructor and function signatures, matching the public surface.
···14461446(* Generic JSON *)
1447144714481448module Value = struct
14491449- type 'a cons = ?meta:Meta.t -> 'a -> json
14501450- type t = json
14491449+ type 'a cons = ?meta:Meta.t -> 'a -> t
14501450+ type t = t
1451145114521452 let meta = function
14531453 | Null (_, m) -> m
···1785178517861786 (* Encode *)
1787178717881788- let rec encode : type a. a Repr.t -> a -> json =
17881788+ let rec encode : type a. a Repr.t -> a -> t =
17891789 fun t v ->
17901790 match t with
17911791 | Null map -> null ~meta:(map.enc_meta v) (map.enc v)