#pragma once #include #include #include namespace DCR { using namespace nlohmann; /** * @brief Get the config object * @param category 配置的类别 * @param entry 配置对应的类别的入口 * @return json */ maybe read_config_maybe(std::string&& category, std::string&& entry); } // namespace DCR