MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / json_string_map

Function json_string_map

tests/perf/model_perf.cpp:264–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264std::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
275PerfCaseSpec parse_perf_case(const JsonValue & value) {
276 PerfCaseSpec out;

Callers 2

build_load_requestFunction · 0.85
build_session_optionsFunction · 0.85

Calls 2

json_option_stringFunction · 0.85
is_nullMethod · 0.80

Tested by

no test coverage detected