ppx_protocol_convversion

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)
AuthorAnders Fugmann
Published
Homepagehttps://github.com/andersfugmann/ppx-deriving-protocol
Issue Trackerhttps://github.com/andersfugmann/ppx-deriving-protocol/issues
MaintainerAnders Fugmann <anders@fugmann.net>
Dependencies
Source [http] https://github.com/andersfugmann/ppx_protocol_conv/archive/1.0.0.tar.gz
sha256=944996354ab3148cb862c7aa0fb7fcd42a131e1c09df484b35275f4c9d474535
md5=e63f02fa4328194070c72b3d9a0ae9d5
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_protocol_conv/ppx_protocol_conv.1.0.0/opam
Required by