[Lldb-commits] [lldb] [lldb] Adding A new Binding helper for JSONTransport. (PR #159160)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 19 11:59:27 PDT 2025
================
@@ -322,6 +323,17 @@ struct CallToolResult {
llvm::json::Value toJSON(const CallToolResult &);
bool fromJSON(const llvm::json::Value &, CallToolResult &, llvm::json::Path);
+lldb_protocol::mcp::Request
+MakeRequest(int64_t id, llvm::StringRef method,
+ std::optional<llvm::json::Value> params);
+
} // namespace lldb_protocol::mcp
+// namespace llvm::json {
+// inline Value toJSON(const lldb_protocol::mcp::Void &) { return Object(); }
+// inline bool fromJSON(const Value &, lldb_protocol::mcp::Void &, Path) {
+// return true;
+// }
+// } // namespace llvm::json
----------------
JDevlieghere wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/159160
More information about the lldb-commits
mailing list