#pragma once #include #include #include struct Config { nlohmann::json $config; std::string $src_path; Config(const std::string src_path); Config(nlohmann::json config, std::string src_path) : $config(config), $src_path(src_path) {} nlohmann::json &operator[](const std::string &key); std::wstring wstring(const std::string main_key); std::wstring wstring(const std::string main_key, const std::string sub_key); };