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