Реструктуризация
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
/// @brief Парсинг конфигурационного файла
|
||||
/// @param[in] path_to_configuration Путь к конфигурационному файлу
|
||||
/// @param[in] required_keys Список обязательных ключей в формате { "key1": ["subkey1", ...], "key2": ... }
|
||||
/// @returns Конфигурация в формате json
|
||||
json ParseConfiguration(const std::string& path_to_configuration, const json& required_keys);
|
||||
Reference in New Issue
Block a user