Реструктуризация

This commit is contained in:
2024-02-23 19:27:55 +03:00
parent ad63587118
commit 9706f91536
41 changed files with 8 additions and 7 deletions
@@ -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);