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

Description

Ppx_protocol_conv generates code to serialise and de-serialise 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_msgpack (Msgpck.t)(Xml.xml) ppx_protocol_conv_xml-light (Xml.xml) ppx_protocol_conv_yaml (Yaml.t)

Published: 28 Aug 2018

Dependencies (10)

  1. ounit with-test
  2. sexplib with-test & < "v0.14"
  3. ppx_sexp_conv with-test & < "v0.14"
  4. ppxlib < "0.9.0"
  5. dune
  6. ppx_core >= "v0.9.0"
  7. ppx_driver
  8. ppx_type_conv
  9. base < "v0.14"
  10. ocaml >= "4.04"

Reverse Dependencies (6)

  1. ppx_deriving_protocol >= "0.8.1"
  2. ppx_protocol_conv_json < "3.1.3"
  3. ppx_protocol_conv_jsonm < "3.1.3"
  4. ppx_protocol_conv_msgpack < "3.1.3"
  5. ppx_protocol_conv_xml_light < "3.1.3"
  6. ppx_protocol_conv_yaml < "3.1.3"

Conflicts

    None