this repo has no description
1opam-version: "2.0" 2maintainer: "Matt Bray <matt@aestheticintegration.com>" 3authors: ["Matt Bray <matt@aestheticintegration.com>"] 4synopsis: "Interface to yojson for decoders" 5description: """ 6A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. 7 8> Eh? 9 10An Ocaml program having a JSON (or YAML) data source usually goes something like this: 11 121. Get your data from somewhere. Now you have a `string`. 132. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. 143. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. 15 16This library helps with step 3. 17""" 18homepage: "https://github.com/mattjbray/ocaml-decoders" 19doc: "https://mattjbray.github.io/ocaml-decoders/decoders-yojson" 20bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues" 21license: "ISC" 22dev-repo: "git+https://github.com/mattjbray/ocaml-decoders.git" 23build: [ 24 ["dune" "build" "-p" name "-j" jobs] 25 ["dune" "runtest" "-p" name "-j" jobs] {with-test} 26 ["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc} 27] 28depends: [ 29 "dune" {>= "1.0"} 30 "ounit" {with-test} 31 "decoders" {>= "0.3.0" & < "1.0.0"} 32 "yojson" {< "2.0.0"} 33 "odoc" {with-doc} 34 "ocaml" { >= "4.03.0" } 35] 36url { 37 src: 38 "https://github.com/mattjbray/ocaml-decoders/releases/download/v0.4.0/decoders-v0.4.0.tbz" 39 checksum: [ 40 "sha256=18ebbd98901dff67c9944d465ed508df018c8ee8e13bfe037d5ad780584eebf7" 41 "sha512=a6221b40cc1c3d9ea46c5e7cec6c5992b923e390ce004c23d7f36e99974c10f6d4a690113255b85d3895f357e0dd44562e9bc03ba8708223cb1e56ba182c10d3" 42 ] 43}