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

QJsonDocument::fromVariant breaks QByteArray

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.5.2, dev
    • Core: Serialization
    • None
    • macOS

    Description

      When running the attached example program observer how the QByteArray does not survive being pulled through a QJsonDocument::fromVariant().

      The final "Ok?" should be "true", but it returns "false"

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes