Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
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.