Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Yojson 2.0 signatures of to_string and from_file #305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion satyrographos.opam
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ depends: [
"uri-sexp" {>= "3.0.0"}
"yaml" {>= "3.0" & < "4.0"}
"yaml-sexp" {>= "3.0" & < "4.0"}
"yojson"
"yojson" {>= "2.0.0"}

# Janestreet Libs
"core" {>= "v0.14" & < "v0.15"}
Expand Down
4 changes: 2 additions & 2 deletions src/library.mli
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ end
module Json : sig
include module type of Json_derivers.Yojson
val to_string :
?buf:Bi_outbuf.t -> ?len:int -> ?std:bool -> t -> string
?buf:Buffer.t -> ?len:int -> ?suf:string -> ?std:bool -> t -> string
val from_file :
?buf:Bi_outbuf.t -> ?fname:string -> ?lnum:int -> string -> t
?buf:Buffer.t -> ?fname:string -> ?lnum:int -> string -> t
val to_file :
?len:int -> ?std:bool -> string -> t -> unit
end
Expand Down