# jsonFileConfig **Repository Path**: wujehy/jsonFileConfig ## Basic Information - **Project Name**: jsonFileConfig - **Description**: cpp 控制 json 配置文件额操作类 - **Primary Language**: C++ - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-01-15 - **Last Updated**: 2021-10-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jsonFileConfig #### 介绍 cpp 控制 json 配置文件额操作类 测试: 切换到当前目录 cmake -Bbuild . cd build cmake --build . ```c++ #include #include "FileConfig.h" int main(){ // 实例化默认对象 FileConfig config; // 指定配置文件 FileConfig config1("testMyFile.json"); // 读取 std::string strData; if(config.Read("/root/key",strData)==EXIT_SUCCESS){ //读取成功 std::cout<<"/root/key : "<