> On Apr 29, 2019, at 12:40 PM, Carsten Bormann <[email protected]> wrote: > > 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. > > Finally, s/signed/negative/ if you want to follow the CBOR terminology here. > (Otherwise, all unsigned integers are also signed integers :-)
Iteration #3: ----- In JSON, maps are called objects and only have one kind of key: a text string. CBOR allows any data item to be a map key. CWT thus uses integers, in addition to text strings, as map keys. ----- -FG _______________________________________________ Ace mailing list [email protected] https://www.ietf.org/mailman/listinfo/ace
