Add support for json output in subkey (#4882)

* Add support for json output in subkey

* Updates as per code review

* Apply suggestions from code review

Co-Authored-By: Nikolay Volf <nikvolf@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Clean up error handler as per code review

* Apply suggestions from code review

Co-Authored-By: Marcio Diaz <marcio@parity.io>

* Fix compilation error

* Remove accidental file commit

Co-authored-by: Nikolay Volf <nikvolf@gmail.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Marcio Diaz <marcio@parity.io>
This commit is contained in:
Hayden Bakkum
2020-02-11 22:35:58 +13:00
committed by GitHub
parent da42d7408c
commit 0d45d12e3f
3 changed files with 112 additions and 36 deletions
+1
View File
@@ -28,6 +28,7 @@ derive_more = { version = "0.99.2" }
sc-rpc = { version = "2.0.0", path = "../../../client/rpc" }
jsonrpc-core-client = { version = "14.0.3", features = ["http"] }
hyper = "0.12.35"
serde_json = "1.0"
[features]
bench = []