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

QJsonObject::operator[] creates key if non-existent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15.2
    • None
    • Linux/X11

      Using QJsonObject::operator[] with a key that doesn't exist will create that key in the object. Documentation says it does the same as value() but value() doesn't have this behavior.

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

            thiago Thiago Macieira
            j-kappes Joel Kappes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes