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

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