cddl-codegen
cddl-codegen copied to clipboard
Duplicate keys not supported
According to the CBOR RFC, if strict mode is not being followed, duplicate keys in CBOR maps are allowed. cddl-codegen only supports strict mode and can't handle duplicate keys. It could be of use to some users to be able to support this, especially on a per-map basis to avoid having an ugly API for areas where duplicate keys are not allowed.