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

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5
    • Core: Serialization
    • None

      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?)

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

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

              Created:
              Updated:

                There are no open Gerrit changes