Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108802

No convenience functions for nested CBOR maps

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.4.1
    • Core: Serialization
    • None
    • All

    Description

      This suggestion comes from this post on the forum. Please read it for a full understanding of the issue.

      Basically, if one is using a QCborStreamWriter to save data, there is no easy way to create nested maps or array, especially with deep hierarchies. Indeed, QCborStreamWriter::append does not handle QCborMap/QCborArray as argument.

      It would be much easier if one could just create a low level QCborMap, insert it in a higher level QCborMap and so on until finally it is written to the file with an append() in the writer.

      Attachments

        Activity

          People

            thiago Thiago Macieira
            atrsbt Sylvain Bernhardt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: