Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

QtCS2017 CBOR: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Added a CBOR page)
 
No edit summary
 
Line 1: Line 1:
Concise Binary Object Representation (CBOR) is a JSON "replacement" that goes well with CoAP and in resource-constrained environments. Tentative requirements / ideas are:
* Want to create a DOM for CBOR
* Want to create a DOM for CBOR
** Pass it a QByteArray
** Pass it a QByteArray

Latest revision as of 15:00, 10 October 2017

Concise Binary Object Representation (CBOR) is a JSON "replacement" that goes well with CoAP and in resource-constrained environments. Tentative requirements / ideas are:

  • Want to create a DOM for CBOR
    • Pass it a QByteArray
    • Have a tree structure like QJSONDocument
    • QCBORValue analogous to QJSONValue
    • QCBORDocument needs to have the same behaviour as QJSONDocument
    • Support indexed parsing
    • Map of CBOR tags to Qt types