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

JSON story in QT

    XMLWordPrintable

Details

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

    Description

      to quickly work with messages or data containers in websocket connections or serializations there should be a good JSON story.

      The aim should be not only to implement the standard of JSON but to implement it with the easy of use that it provides in other languages (primary Java Script)

      A good example of this is the nlohmann::json library that really does a good job of storing and recovering data from json in a great way.

      The QJsonDocument does strange conversations via QByteArray and while reading there will always be the intermediate step of QJsonValue and checking what the value is.

      The work with this API and the resulting code is really long winded and hard to maintain.

      Another approach would be to add a QObject based story tapping into the meta-object system.

       

      At the moment it feels like a small project not really integrated in the framework just so say Json-Support is implemented.

      One of our case would be a JSON-RPC-Implentation ...

      Please feel free to ask for clarification if this is to broad.

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            andreas_felix_haeberle Felix Häberle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes