| 47 | using nlohmann::json; |
| 48 | |
| 49 | auto read_json(std::filesystem::path const& path) { |
| 50 | json j; |
| 51 | std::ifstream f{path}; |
| 52 | f >> j; |
| 53 | return j; |
| 54 | } |
| 55 | |
| 56 | template <typename T> std::string get_as_string(T const& attribute_value) { |
| 57 | std::stringstream sstr; |