Lines Matching refs:json_str
90 void VSCode::SendJSON(const std::string &json_str) { in SendJSON() argument
92 output.write_full(llvm::utostr(json_str.size())); in SendJSON()
94 output.write_full(json_str); in SendJSON()
98 << "Content-Length: " << json_str.size() << "\r\n\r\n" in SendJSON()
99 << json_str << std::endl; in SendJSON()
117 std::string json_str; in ReadJSON() local
121 return json_str; in ReadJSON()
124 return json_str; in ReadJSON()
127 return json_str; in ReadJSON()
130 return json_str; in ReadJSON()
132 if (!input.read_full(log.get(), length, json_str)) in ReadJSON()
133 return json_str; in ReadJSON()
138 << json_str << std::endl; in ReadJSON()
141 return json_str; in ReadJSON()