QByteArray data;
QString str = QCoreApplication::applicationDirPath();
QString jsonPath=str+"";
QFile file(jsonPath);
file.open(QIODevice::ReadOnly| QIODevice::Text);
QByteArray t = file.readAll();
JSON转Array
最新推荐文章于 2024-04-30 09:52:53 发布
QByteArray data;
QString str = QCoreApplication::applicationDirPath();
QString jsonPath=str+"";
QFile file(jsonPath);
file.open(QIODevice::ReadOnly| QIODevice::Text);
QByteArray t = file.readAll();