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

Function json_quote

app/server/http.cpp:51–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 ch = static_cast<char>(std::tolower(static_cast<unsigned char>(ch)));
50 }
51 return value;
52}
53
54std::string trim(std::string value) {
55 auto is_space = [](unsigned char ch) { return std::isspace(ch) != 0; };
56 value.erase(value.begin(), std::find_if(value.begin(), value.end(), [&](char ch) { return !is_space(ch); }));

Callers 1

error_responseFunction · 0.70

Calls 1

stringify_stringFunction · 0.85

Tested by

no test coverage detected