Lines Matching refs:json_str
87 void VSCode::SendJSON(const std::string &json_str) { in SendJSON() argument
89 output.write_full(llvm::utostr(json_str.size())); in SendJSON()
91 output.write_full(json_str); in SendJSON()
95 << "Content-Length: " << json_str.size() << "\r\n\r\n" in SendJSON()
96 << json_str << std::endl; in SendJSON()
114 std::string json_str; in ReadJSON() local
118 return json_str; in ReadJSON()
121 return json_str; in ReadJSON()
124 return json_str; in ReadJSON()
127 return json_str; in ReadJSON()
129 if (!input.read_full(log.get(), length, json_str)) in ReadJSON()
130 return json_str; in ReadJSON()
135 << json_str << std::endl; in ReadJSON()
138 return json_str; in ReadJSON()