this repo has no description
1opam-version: "2.0"
2maintainer: "Matt Bray <matt@aestheticintegration.com>"
3authors: ["Matt Bray <matt@aestheticintegration.com>"]
4homepage: "https://github.com/mattjbray/ocaml-decoders"
5synopsis: "Interface to ezjsonm for decoders"
6description: """
7A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`.
8
9> Eh?
10
11An Ocaml program having a JSON (or YAML) data source usually goes something like this:
12
131. Get your data from somewhere. Now you have a `string`.
142. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`.
153. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain.
16
17This library helps with step 3.
18"""
19doc: "https://mattjbray.github.io/ocaml-decoders/decoders-ezjsonm"
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 "containers" {with-test}
32 "decoders" {>= "0.3.0" & < "1.0.0"}
33 "ezjsonm" {>= "0.4.0"}
34 "odoc" {with-doc}
35 "ocaml" { >= "4.03.0" }
36]
37url {
38 src:
39 "https://github.com/mattjbray/ocaml-decoders/releases/download/v0.3.0/decoders-v0.3.0.tbz"
40 checksum: [
41 "sha256=a50e613cfd18a584e765d8368ad0afe920482bf1e6745caf13f2b6a7d3634d9d"
42 "sha512=2f596f444ec815759234b50a53e3a67e7413f871d5fce1ae950e145dd5e81c4507acf784334ca86c935344b59ea619baa96ac07a0207cfb70681986dd81e2079"
43 ]
44}