Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
With_field_name_duplicate_checks
is a subset of Encoding
where all the constructed objects are checked for duplicates.
Note that the analysis can include false positives: it might fail on encodings which will never serialise a value with duplicate fields. Still, these false positives are uncommon and we recommend you use these combinators when relevant.
let e =
let open Data_encoding in
let open Data_encoding.With_field_name_duplicate_checks in
…