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

QJsonObject, why it should have "ordered" interface

XMLWordPrintable

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

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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes