package decoders

  1. Overview
  2. Docs
Elm-inspired decoders for Ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

decoders-0.7.0.tbz
sha256=913db33fd532ee7a322e08db7ffef2bfb1aaa7a5fe63ae50ff92e6fdff6651a5
sha512=2954b1cd17f8b314ffc5ef88b8afeae0cbe1fa8adcd7fd224499d0fb7c9555ea15deb83030e54660d9e4a4eb4e50840978904a2479ade326ed8568ef49112bd7

CHANGES.md.html

0.7.0 (2022-05-11)

  • Add Decode.field_opt_or (#43, @c-cube)

  • Add Decode.pick (#43, @c-cube)

  • Add Decode.decode_sub (#45, @c-cube)

bs-decoders

  • Improve int decoder (@actionshrimp)

decoders-yojson

  • Move away from deprecated Yojson.json to Yojson.t (#37, @idkjs)

0.6.0 (2021-03-12)

  • Add Decode.of_of_string and Encode.of_to_string (@mattjbray)

  • Add Decode.array with bs-specific impl (#28, #30, @actionshrimp)

0.5.0 (2020-10-28)

  • Add Decoders_msgpck (#26, @c-cube)

  • Add let operators (#24, @c-cube)

  • Alias Decode.map as <$> (#21, @hamza0867)

0.4.0 (2020-05-06)

  • Expose null decoder (#18, @mattjbray)

  • Rename Encode.option to Encode.nullable (#19, @mattjbray)

  • Add Decoders_jsonm (#20, @mattjbray)

0.3.0 (2019-06-24)

  • Add uncons primitive (#7, @mattjbray)

  • Add Decoders_sexplib (#7, @mattjbray)

  • Add Decoders_cbor (#9, @mattjbray)

  • Add Decoders_bencode (#14, @c-cube)

  • Remove containers dependency (#16, @c-cube)

0.2.0 (2019-06-24)

  • Add field_opt decoder (#5, @actionshrimp)

  • Add list_fold_left decoder (#8, @ewenmaclean)

0.1.2 (2019-01-09)

  • Upgrade from jbuilder to dune

  • Remove cppo build dependency (#4)

0.1.1 (2018-12-13)

  • Fix some non-tail-recursive stuff.

  • Add stringlit encoder and decoder for Decoders_yojson.Raw

0.1.0 (2018-09-26)

Initial release.

OCaml

Innovation. Community. Security.