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

QJsonObject, why it should have "ordered" interface

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.6.1
    • Core: Other
    • None
    • All

    Description

      Suppose you wanted to initialize a user interface, a preference editor for example, from a Json string/file. Typically, the UI programmer would want a predictable, but probably not alphabetic, ordering of the properties in the UI.

      The current QJsonObject does not appear to support this.

      I've attached an implementation that has been tested on Qt 5.6 (but derived from Qt 4.8 & 5.6 QMap).

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            kcrossen kcrossen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes