package ppx_protocol_conv
Install
Dune Dependency
Authors
Maintainers
Sources
md5=2f9f5eb9431d9db1e89151277d2bab2c
sha512=3f9d410edd8531c61b8f66a2d21e9f47cfd7def6c14e94501af584afa6801e2f0a94abce8c82b7064b49b113c3a7a12ca1c7027d03e2e88c10d39b4857402077
doc/ppx_protocol_conv.driver/Ppx_protocol_driver/Default_parameters/index.html
Module Ppx_protocol_driver.Default_parameters
Source
Set of default Parameters
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
Fail if unknown fields are encountered when deserialising records.
Default is false