最后我通过参考文档得到了解决方案
http://developer.blackberry.com/native/reference/cascades/qstring.html#details
第 1 步:
在cpp标头 中声明#include <QStringList>
第2步:
JsonDataAccess jda;
QVariantMap map = jda.loadFromBuffer(reply->readAll()).toMap();
QVariantList addresses = map["RegistrationResult"].toList();
qDebug() << "RegistrationResult is "<<map["RegistrationResult"].toString();
QString result;
QString empid;
QString empid_no;
QString companyname;
QString::SectionFlag flag = QString::SectionSkipEmpty;
result=m_temperature.section(':', 0, 0);
empid=m_temperature.section(':', 1, 1);
empid_no=m_temperature.section(':', 2, 2);
companyname==m_temperature.section(':', 4, 4);