MCPcopy Create free account
hub / github.com/devsisters/libquic / GetQuotedJSONString

Function GetQuotedJSONString

src/base/json/string_escape.cc:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129std::string GetQuotedJSONString(const StringPiece& str) {
130 std::string dest;
131 bool ok = EscapeJSONStringImpl(str, true, &dest);
132 DCHECK(ok);
133 return dest;
134}
135
136std::string GetQuotedJSONString(const StringPiece16& str) {
137 std::string dest;

Callers

nothing calls this directly

Calls 1

EscapeJSONStringImplFunction · 0.85

Tested by

no test coverage detected