package cconv

  1. Overview
  2. Docs
Combinators for Type Conversion in OCaml, and ppx_deriving plugin.

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
md5=25d873aa26a0521ab3b015fdb7f26e28

Description

CConv provides type-safe combinators for describing how to read/build OCaml values of a given type. Those combinators can be used for serializing and deserializing the values into several formats. The library ships with conversion to Json (yojson), S-expressions (sexplib) and B-encode.

The library cconv.ppx contains a ppx_deriving plugin for automatically derive encoders and decoders.

Tags

conversion gadt serialization

Published: 30 Sep 2016

Dependencies (5)

  1. ocamlfind build
  2. cppo_ocamlbuild build
  3. cppo build
  4. ocamlbuild build
  5. ocaml >= "4.01.0" & < "5.0"

Dev Dependencies

None

Used by (4)

  1. cconv-ppx
  2. edn = "0.1.5"
  3. toml-cconv
  4. toml_cconv < "7.0.0"

Conflicts (3)

  1. yojson >= "2.0.0"
  2. ppx_deriving < "2.0" | >= "5.0"
  3. bencode >= "2.0"