json 数据解析
的有关信息介绍如下:你还需要json的API C++有开源的libJson::Value protocolInfo;Json::Reader readJson;bool result = readJson.parse((char*)pTemAInfo,protocolInfo);Json::Value protocolInfoValue = protocolInfo["result"];int i = 0;while(1){ Json::Value temName = protocolInfoValue[i][total_num]; CString strName = temName.asCString(); i++;}