package ppx_protocol_conv

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppx_protocol_conv-5.2.3.tbz
sha256=3fe42f8deaee6b686cae81ac8cf650be299dd6c86b718e90ea05e903d7fa51b4
sha512=aa8c0798432f097e468996e4fb2e7e936557d013406ba9558c5edd8926172a5499578e4ee7138d9cade1dc6b387f4ddb120499441a4070404fe0d107d639fc3a

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: 04 Sep 2025

Dependencies (4)

  1. ppxlib >= "0.36.0"
  2. dune >= "1.2"
  3. base >= "v0.14.0"
  4. ocaml >= "4.08"

Dev Dependencies (3)

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

Conflicts

None