package ppx_protocol_conv
Install
Dune Dependency
Authors
Maintainers
Sources
md5=e71abaeffcf8596d49a04acb27e00f24
sha512=b0322030fa81af86cbe7b8b502c743768daf60c73f0219d4ce12b175c9612b1fc34bb10bf2dbbcdf9743ab321157e2ffdd8e3160f92372c7b59785ae87fbbebd
doc/ppx_protocol_conv.driver/Ppx_protocol_driver/Make/argument-2-P/index.html
Parameter Make.P
Map field names of records Mapping is done after applying [@key]
attribute.
Default is identity
Map variant and constructor names. Mapping is done after applying [@name]
attribute.
Default is identity
Map constructors with no arguments to a string. If true, constructors without arguments are mapped to a string, instead of than a list containing only the constructor / variant name.
Default is true
Omit default values from output. If true, default values are not serialized. Note that this uses polymorphic compare to determine if a field value is the same as the default value.
Default is true
Lazy evaluate lazy fields. If true, lazy fields are parsed eagerly. If false, lazy fields are parsed first when forced, which means they will hold the serialized structure until forced, and forcing might raise a parse error.
Default is true