Since WebAuthN uses CBOR, I felt it would be a good idea to bring broad base support for CBOR throughout.
UInt8Array and more.
I felt that it was weird for WebAuthN to support CBOR (as it's available in all browsers) but not expose that CBOR in the official spec.
WebAuthN isn’t part of the language, it’s part of HTML. Have you asked that specification?
While WebAuthN isn't part of the language, I just liked this CBOR. But it could be pratically almost the same as, but a bit more shorter than:
(That's how a key-to-value map looks like in CBOR, except it's binary.)
CBOR has all the same limitations as JSON (e.g., no parent-child uplinking-downlinking), but it loses human readability and gains a little size advantage. It would probably see use as a replacement for JSON if the HTML and JS standards cooperated to make it happen.