ppx_protocol_conv
Ppx for generating serialisation and de-serialisation functions of ocaml types

Install

Authors

Maintainers

Sources

5.1.1.tar.gz
md5=cfb803fb5331587cb7f9d4a5e80747ef
sha512=8424bfdaa8de6472b1ccc423f8ed7499efe4de849aac1217f053c851cb8ca1c63cf5fb502ea6a0bc3ee8dd4869f46a30289824c7bf8e9dd6927a80e5e9aa88a0

Description

Ppx_protocol_conv generates code to serialize and de-serialize types. The ppx itself does not contain any protocol specific code, but relies on 'drivers' that defines serialisation and de-serialisation of basic types and structures.

Pre-defined drivers are available in separate packages: ppx_protocol_conv_json (Yojson.Safe.json) ppx_protocol_conv_jsonm (Ezjson.value) ppx_protocol_conv_msgpack (Msgpck.t) ppx_protocol_conv_xml-light (Xml.xml) ppx_protocol_conv_xmlm (Xmlm.node) ppx_protocol_conv_yaml (Yaml.value)

Published: 11 May 2020

Dependencies (4)

  1. ppxlib >= "0.9.0" & < "0.15.0"
  2. dune >= "1.2"
  3. base < "v0.14"
  4. ocaml >= "4.04"

Dev Dependencies (3)

  1. alcotest with-test & >= "0.8.0"
  2. sexplib with-test & < "v0.14"
  3. ppx_sexp_conv with-test & < "v0.14"

Conflicts

None