package ppx_protocol_conv

  1. Overview
  2. Docs
Ppx for generating serialisation and de-serialisation functions of ocaml types

Install

Authors

Maintainers

Sources

5.0.0.tar.gz
md5=fb107eb8055a9b2410b23e763c63bb70
sha512=fc0acc9d40665904b99ccfe4ca33a78a47ffedb6a2ee9c72c98c8bc21bda7e53fe8826784183ef9daa0fc228336169d2e0418668ffe39c149365e0a8e69a1f69

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_yaml (Yaml.value)

Published: 21 Apr 2019

Dependencies (4)

  1. ppxlib >= "0.3.0" & < "0.9.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