#ifndef FOUNDATION_IOTACQ_LOADJSONFILE_H #define FOUNDATION_IOTACQ_LOADJSONFILE_H #include #include #include namespace iot_acq { class LoadJsonFile { public: LoadJsonFile(); ~LoadJsonFile(); bool LoadJson(const std::string &filePath, Json::Value &root); bool LoadChannelFromJson(const std::string &filePath); bool LoadDevicesFromJson(const std::string &filePath); bool ParseJson(const Json::Value &root); bool ParseChannels(const Json::Value &jsonChn); bool ParseDevices(const Json::Value &jsonDevice); private: }; } // namespace iot_acq #endif // FOUNDATION_IOTACQ_LOADJSONFILE_H