目录 1 目的 2 实现接口 3 示例 1 目的 将本地的json文件中的内容,读入内存中。 2 实现接口 int ReadFile2String(const char* szFileName, std::string& strFileContext) { int iRet = 0