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

QJsonDocument only supports arrays and objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.1
    • Core: Other
    • None

    Description

      According to JSON spec, JSON document can be of any valid type, not only arrays and objects:
      A JSON text is a serialized value. Note that certain previous specifications of JSON constrained a JSON text to be an object or an array.
      Arrays and objects are a legacy feature which is not a requirement. QJsonDocument only conforms to this legacy spec, and doesn't support valid non-array and non-object documents.

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            krojew Kamil Rojewski
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes