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: [
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name] {with-test}
]
depends: [
  "ocaml" {>= "4.02.3"}
  "jbuilder"
  "cppo" {build}
  "easy-format"
  "biniou" {>= "1.2.0"}
]
conflicts: [
  "dune" {>= "1.7.0"}
]
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."""
url {
  src: "https://github.com/mjambon/yojson/archive/v1.4.0.tar.gz"
  checksum: "md5=729b5e15b2f7c1cb7d402bc301d06d0e"
}
