easiest way to parse JSON in Qt 4.7

后端 未结 6 2030
甜味超标
甜味超标 2020-12-13 09:44

I need to parse JSON object through Qt. What is the easiest/fastest way to do it?

6条回答
  •  无人及你
    2020-12-13 10:20

    Try QJson.

    QJson is actively developed (and used by KDE, if I'm not mistaken). The best is to checkout the source code directly and built it yourself. There is no dependencies to QJson (except for Qt and CMake). It's pretty simple to use too, have a look at some usage examples :

    http://qjson.sourceforge.net/usage/

提交回复
热议问题