Serialize bigint/bigdecimal as i64/f64

This commit is contained in:
Jonathan Turner
2019-09-15 05:48:24 +12:00
parent 0afda5c466
commit 2b88f1eed0
2 changed files with 55 additions and 0 deletions

View File

@ -59,6 +59,7 @@ fn load_plugin(path: &std::path::Path, context: &mut Context) -> Result<(), Shel
let result = match reader.read_line(&mut input) {
Ok(count) => {
trace!("processing response ({} bytes)", count);
trace!("response: {}", input);
let response = serde_json::from_str::<JsonRpc<Result<Signature, ShellError>>>(&input);
match response {