#ifndef JSON_SETTINGS_H #define JSON_SETTINGS_H #include #include #include #include #include struct Service { std::string name; std::string service; }; struct AppSettings { static std::expected loadAppSettings(); std::optional getId(std::string_view name); std::vector services; std::optional httpPort; }; #endif // JSON_SETTINGS_H