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

JSON.stringify() prints debug output on stderr

    XMLWordPrintable

Details

    • 15f451e99a2d3ca3c2fc4b8f8464b949b9dc7549 198705febf9bbb9140c89607b8b6a2ac682a54fd 7be4dcfd2c2dd27627bfc6a319f348a52c390632

    Description

      using JSON.stringify with QJSEngine prints integer numbers on stderr:

      QJSEngine().evaluate("JSON.stringify({ a:42 })");
      
      2
      

      up to Qt 6.3.0 this didn't happen. There shouldn't be any output.

      Attachments

        1. CMakeLists.txt
          0.2 kB
          Joachim Grill
        2. main.cpp
          0.2 kB
          Joachim Grill
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            jgrill Joachim Grill
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes