标签:
rapidjson::Document d;
d.Parse<0>(FileUtils::getInstance()->getStringFromFile("data_2.json").c_str());
log("%s",d[(int)0]["name"].GetString());
cocos2d-x之json文件读取初试
原文地址:http://www.cnblogs.com/daochong/p/5233256.html