摘要:
#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" 阅读全文