On Tuesday, 10 October 2017 11:59:07 CEST Konstantin Tokarev wrote:
> 10.10.2017, 12:50, "Thiago Macieira" <[email protected]>:
> > On Tuesday, 10 October 2017 11:48:02 CEST Konstantin Tokarev wrote:
> >>  > We would like to have CBOR support in QtCore.
> >> 
> >>  If you do this, please support stringref extension:
> >>  http://cbor.schmorp.de/stringref
> > 
> > Point me to the IETF draft. No action before then.
> 
> At the moment, there are only 25 and 256 tags registered in
> https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml
> 
> However, I believe that without this extension CBOR with string keys isn't
> much better than JSON, as you still need to compress it on the wire.

Sure, it isn't much better than JSON. Just a little, which is fine.

If you want something much better, just use integer keys. That's what COSE is 
doing. See 
        https://tools.ietf.org/html/rfc8152#section-3.1

IANA registries:
        https://www.iana.org/assignments/cose/cose.xhtml

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to