Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (37 sloc) 1.08 KB
opam-version: "2.0"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "http://mjambon.com/yojson.html"
bug-reports: "https://github.com/mjambon/yojson/issues"
dev-repo: "git+https://github.com/mjambon/yojson.git"
build: [
[make] {ocaml:native}
[make "all"] {!ocaml:native}
]
install: [
[make "install-lib"]
]
remove: [
[make "uninstall-lib"]
]
depends: [
"ocaml" {>= "4.01.0" & < "4.06.0"}
"ocamlfind"
"cppo"
"easy-format"
"biniou" {>= "1.0.6"}
]
synopsis:
"Yojson is an optimized parsing and printing library for the JSON format"
description: """
It addresses a few shortcomings of json-wheel including 2x speedup,
polymorphic variants and optional syntax for tuples and variants.
ydump is a pretty-printing command-line program provided with the
yojson package.
The program atdgen can be used to derive OCaml-JSON serializers and
deserializers from type definitions."""
extra-files: ["yojson.install" "md5=992a663b313888121778a1b7b18b622c"]
url {
src: "https://github.com/mjambon/yojson/archive/v1.3.0.tar.gz"
checksum: "md5=5891b2b417fbb9bde175d22ff2d9455b"
}
You can’t perform that action at this time.