ppx_protocol_conv

AuthorAnders Fugmann
Homepagehttps://github.com/andersfugmann/ppx-deriving-protocol
Issue Trackerhttps://github.com/andersfugmann/ppx-deriving-protocol/issues
MaintainerAnders Fugmann <anders@fugmann.net>
Dependencies
&basev0.11
jbuilder
msgpck
ppx_core
ppx_driver>= v0.10.1
ppx_metaquot
ppx_type_conv
xml-light
yojson
Availableocaml-version >= "4.04"
PublishedFeb 28, 2018
Source [http] https://github.com/andersfugmann/ppx_protocol_conv/archive/1.0.0.tar.gz
e63f02fa4328194070c72b3d9a0ae9d5
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_protocol_conv/ppx_protocol_conv.1.0.0/opam

Serialization and de-serialization of ocaml types to/from json, msgpack and xml_light.

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

The library provides the following drivers for serialization and deserialization:

  • json (Yojson.Safe.json)
  • xml_light (Xml.xml)
  • msgpack (Msgpck.t)