On Fri, Jan 09, 2026 at 09:56:06AM +0100, Anders Rundgren wrote:
> 
> To cope with such issues, my primary project (creating a cross-
> platform profile for CBOR), defines a set of "standardized",
> presumably portable, CBOR protocol primitives:
> https://www.ietf.org/archive/id/draft-rundgren-cbor-core-24.html#name-protocol-primitives

Another thing that tends to cause trouble with various implementations
and should be avoided is using map keys that are not int, bstr, tstr nor
simple.

One implementation I wrote can not do map lookup with such key (but
still returns those in map iteration). Another implementation I wrote
returned parse error if it ran into such thing.

Both could handle -14488038916154245685 or 'undefined' as map key just
fine.




-Ilari

_______________________________________________
COSE mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to