> -----Original Message----- > From: Carsten Bormann <[email protected]> > Sent: Monday, April 29, 2019 9:41 AM > To: Felipe Gasper <[email protected]> > Cc: Benjamin Kaduk <[email protected]>; Roman Danyliw <[email protected]>; > Daniel Migault <[email protected]>; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected] > Subject: Re: [Ace] [Technical Errata Reported] RFC8392 (5710) > > On Apr 29, 2019, at 18:15, Felipe Gasper <[email protected]> wrote: > > > > In JSON, maps are called objects and only have one kind of key: > > a UTF-8 string. In CBOR, any valid CBOR item can be a map key. > > CWT uses signed and unsigned integers, in addition to UTF-8 strings, > > as map keys. > > s/CBOR item/CBOR data item/ (this is the term we use in 7049) > > Also, I think > s/UTF-8 string/text string/g > The fact that this is encoded in UTF-8 is somewhat on a different level of > detail.
+1 on this. There is not really a restriction that UTF-8 strings be the key in JSON. If you encoded the JSON as UTF-16 then it would be a UTF-16 string. Jim > > Finally, s/signed/negative/ if you want to follow the CBOR terminology here. > (Otherwise, all unsigned integers are also signed integers :-) > > Grüße, Carsten _______________________________________________ Ace mailing list [email protected] https://www.ietf.org/mailman/listinfo/ace
