152 commandDict = { |
152 commandDict = { |
153 "jsonrpc": "2.0", |
153 "jsonrpc": "2.0", |
154 "method": method, |
154 "method": method, |
155 "params": params, |
155 "params": params, |
156 } |
156 } |
157 return json.dumps(commandDict) + "\n" |
157 return json.dumps(commandDict) |
158 |
158 |
159 |
159 |
160 ########################################################################### |
160 ########################################################################### |
161 ## Things related to monkey patching below |
161 ## Things related to monkey patching below |
162 ########################################################################### |
162 ########################################################################### |