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

Add support for simple values to QJsonDocument

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.10.0
    • None

    Description

      At this moment QJsonDocument can be created only from arrays and objects. For any other input result is null as sayed in docs. Before Qt 5.10 it was correct implemenation due QJson was based on old RFC-4627. RFC-4267 says that A JSON text is a serialized object or array. But in Qt 5.10 is used RFC-7159. In RFC-7159 JSON text has new definition A JSON text is a serialized value.

       

      BTW current QJsonDocument should be changed to reflect this standard change.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            taurus Ivan Romanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes