package ppx_protocol_conv_json
Module Json.YojsonSource
include Protocol_conv.Runtime.Driver with type t = Yojson.Safe.json
Serialized type. This type should not be opaque, so it is recommended that drivers implement the signature as Runtime.Driver with type t = ...
Opaque error type
Exception for protocol errors. The driver should make sure that this is the only exception raised when deserializing
Construct an error to be raised from a custom parser.
Wrap deserialization function to convert exceptions into an result type