Skip to content

Commit 8a11493

Browse files
committed
Require yojson >= 1.6.0
1 parent 165bf28 commit 8a11493

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

Changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Changes marked with '*' indicates a changes that breaks backward compatibility
44

55
[ ] Support extensible polymorphic variants
6+
7+
3.1.3
8+
[x] Require yojson >= 1.6.0
9+
[x] Require ppxlib >= 0.3.0
10+
611
3.1.2
712
[x] Support arrays
813

drivers/json/json.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
module Driver : Ppx_protocol_driver.Driver with type t = Yojson.Safe.json = struct
2-
type t = Yojson.Safe.json
1+
module Driver : Ppx_protocol_driver.Driver with type t = Yojson.Safe.t = struct
2+
type t = Yojson.Safe.t
33
module U = Yojson.Safe.Util
44

55
let to_string_hum t =

drivers/json/json.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* Json Protocol *)
22
include Protocol_conv.Runtime.Driver with
3-
type t = Yojson.Safe.json and
3+
type t = Yojson.Safe.t and
44
type 'a flags = ?flags:[ `Mangle of (string -> string) ] -> 'a
55

66
val of_json: t -> t

ppx_protocol_conv_json.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build: [
1212
depends: [
1313
"ocaml" {>= "4.04.0"}
1414
"ppx_protocol_conv" {>= "3.1.1"}
15-
"yojson"
15+
"yojson" {>= "1.6.0"}
1616
"dune" {build}
1717
"ppx_sexp_conv" {with-test & < "v0.12"}
1818
"sexplib" {with-test & < "v0.12"}

0 commit comments

Comments
 (0)