摘要: #include "JsonBox.h"std::string path = "test.json”;//注意引入路径 path = cocos2d::CCFileUtils::sharedFileUtils()->fullPathForFilename(path.c_str()); /*写入文件*/ JsonBox::Object o; o["myName"] = JsonBox::Value(123); o["myOtherMember"] = JsonBox::Value("asld\\kfn" 阅读全文
posted @ 2014-03-06 16:30 滴水瓦 阅读(655) 评论(0) 推荐(0) 编辑