QtCS2017 CBOR

From Qt Wiki
Revision as of 15:00, 10 October 2017 by Fredrik de Vibe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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