Can I use JavaScript to get JSON data from the server inside my qt app?

后端 未结 3 1139
广开言路
广开言路 2021-01-08 01:09

I need to get JSON data and load it to a table. As I guess I need some C++ skills for it. But can I do this in plain JavaScript or may be QML?

3条回答
  •  没有蜡笔的小新
    2021-01-08 01:44

    You can do that easily in C++ as Qt5 has native support for JSON. Check the following answer for the example:

    How to create/read/write JSon files in Qt5

提交回复
热议问题