Lines Matching defs:json_str
229 // Send the JSON in "json_str" to the "out" stream. Correctly send the
232 void DAP::SendJSON(const std::string &json_str) {
234 output.write_full(llvm::utostr(json_str.size()));
236 output.write_full(json_str);
242 std::string json_str;
243 llvm::raw_string_ostream strm(json_str);
247 SendJSON(json_str);
253 << "Content-Length: " << json_str.size() << "\r\n\r\n"
261 std::string json_str;
265 return json_str;
268 return json_str;
271 return json_str;
274 return json_str;
276 if (!input.read_full(log, length, json_str))
277 return json_str;
285 return json_str;