Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
JSON object over network
Misty River last edited by
I would like to know how should I go about sending a json file over network from server to client?
qxoz last edited by
- Read file to QByteArray and send it via network.
- Red file by "QJsonDocument":http://qt-project.org/doc/qt-5/qjsondocument.html then convert it to json string or binary json and then send it.