cddl-codegen icon indicating copy to clipboard operation
cddl-codegen copied to clipboard

Duplicate keys not supported

Open rooooooooob opened this issue 3 years ago • 0 comments

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.

rooooooooob avatar Jun 29 '22 20:06 rooooooooob