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

JSON.stringify(qml_object) cause crashing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.2.0
    • None
    • Windows 10
    • Windows

    Description

      Like title says. I know we cannot JSON.stringify on QML object but it should not cause crashing

      At lease throw an error

      import QtQuick 2.12
      Item {
        id: item
        Component.onCompleted: JSON.stringify(item)
      }

      Attachments

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

        Activity

          People

            mikolaj.boc MikoĊ‚aj Boc (Inactive)
            tim37021 Tim Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes