| 262 | } |
| 263 | |
| 264 | std::unordered_map<std::string, std::string> json_string_map(const JsonValue * value) { |
| 265 | std::unordered_map<std::string, std::string> out; |
| 266 | if (value == nullptr || value->is_null()) { |
| 267 | return out; |
| 268 | } |
| 269 | for (const auto & [key, child] : value->as_object()) { |
| 270 | out.emplace(key, minitts::cli::json_option_string(child)); |
| 271 | } |
| 272 | return out; |
| 273 | } |
| 274 | |
| 275 | PerfCaseSpec parse_perf_case(const JsonValue & value) { |
| 276 | PerfCaseSpec out; |
no test coverage detected