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

Add support for decoding JSON Text Sequences (RFC 7464) and CBOR Sequences (RFC 8742)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5
    • Core: Serialization
    • None

    Description

      Basically decode an input sequence as QCborArray or QJsonArray without having the outer markers indicating that it is an array. For JSON, this will need to properly interpret the delimiters (CBOR requires no delimiter).

      For CBOR, we may want to add an extra SequenceStop parameter with two values:

      • SequenceStop::AtBreak
      • SequenceStop::AtEOF (default)

      Proposed API:

      • QCborValue::fromCborSequence()
      • QJsonDocument::fromJsonSequence() (maybe add directly to QJsonValue and stop adding to QJsonDocument?)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes