package ppx_protocol_conv

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_protocol_conv-5.2.2.tbz
sha256=994362c2185d12f732e522e1e457b7de67745e594b898368c878424e93f84587
sha512=237b236a257f35ad671194f6ee0690dfc85eef9b088a928e7b0582b23b5acc19b6727318be6b7abfa0f6c1052047b820e7a0345d8cadb3c0280e18dc3da6e453

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: 23 Jan 2025

Dependencies (4)

  1. ppxlib >= "0.9.0"
  2. dune >= "1.2"
  3. base >= "v0.14.0"
  4. ocaml >= "4.07"

Dev Dependencies (3)

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

Conflicts

None

OCaml

Innovation. Community. Security.