Opam Package decoders.0.3.0

Package info

opam-namedecoders
opam-version0.3.0
synopsisElm-inspired decoders for Ocaml
description A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. > Eh? An Ocaml program having a JSON (or YAML) data source usually goes something like this: 1. Get your data from somewhere. Now you have a `string`. 2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. 3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. This library helps with step 3.
authors
  • Matt Bray <matt@aestheticintegration.com>
homepagehttps://github.com/mattjbray/ocaml-decoders
licenseISC
changes-fileCHANGES.md
readme-fileREADME.md
deps (3)
revdeps (6)
metas (1)
libraries (1)

Package modules

Package sources

decoders

Package files

lib/decoders/opam
lib/decoders/encode.mli
lib/decoders/encode.ml
lib/decoders/dune-package
lib/decoders/decoders_util.mli
lib/decoders/decoders_util.ml
lib/decoders/decoders__Encode.cmx
lib/decoders/decoders__Encode.cmti
lib/decoders/decoders__Encode.cmt
lib/decoders/decoders__Encode.cmi
lib/decoders/decoders__Decoders_util.cmx
lib/decoders/decoders__Decoders_util.cmti
lib/decoders/decoders__Decoders_util.cmt
lib/decoders/decoders__Decoders_util.cmi
lib/decoders/decoders__Decode.cmx
lib/decoders/decoders__Decode.cmti
lib/decoders/decoders__Decode.cmt
lib/decoders/decoders__Decode.cmi
lib/decoders/decoders__.ml
lib/decoders/decoders__.cmx
lib/decoders/decoders__.cmt
lib/decoders/decoders__.cmi
lib/decoders/decoders.ml
lib/decoders/decoders.cmxs
lib/decoders/decoders.cmxa
lib/decoders/decoders.cmx
lib/decoders/decoders.cmt
lib/decoders/decoders.cmi
lib/decoders/decoders.cma
lib/decoders/decoders.a
lib/decoders/decode.mli
lib/decoders/decode.ml
lib/decoders/META
lib/decoders
doc/decoders/README.md
doc/decoders/LICENSE
doc/decoders/CHANGES.md
doc/decoders