package ppx_protocol_conv

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.0.tar.gz
md5=5eddd4cc3ef4fce45dacc1add7f82ff7
sha512=f947bfb488b62114b765c8479ae06818c6823ca8be14c454273f09d9390cb405be7add78953291cfc3a9ffbcc79418c57b35144136c17f4c458ab52be8185ed4

doc/ppx_protocol_conv.runtime/Protocol_conv/Runtime/index.html

Module Protocol_conv.Runtime

type nonrec ('v, 'e) result = ('v, 'e) result
module Record_in : sig ... end
module Record_out : sig ... end
module Tuple_in : sig ... end
module Tuple_out : sig ... end
module Variant_in : sig ... end
module type Driver = sig ... end

Signature for a driver. Serialization function are on the form of_XXX and deserialization function are on the form to_XXX.

module Helper : sig ... end

Module contains helper function for serializing and deserializing tuples, records and variants. Deserialization functions may raise Helper.Protocol exception. It is recommended that the calling functions convert this exception into a Driver.Protocol_exception

OCaml

Innovation. Community. Security.