QtCS2017 CBOR

From Qt Wiki
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