#ifndef SCOPETRANSLATIONPARSER #define SCOPETRANSLATIONPARSER #include #include #include #include #include class ScopeTranslationParser { public: ScopeTranslationParser(QString configFilePath); QMap parse() const; private: QByteArray readConfigFile() const; QJsonObject createJsonObject(const QByteArray& jsonFileContent) const; std::optional > getScopeTranslationFromJsonObj( const QJsonObject& obj) const; QString _configFilePath; }; #endif //SCOPETRANSLATIONPARSER