macro_rules! json_rpc_res {
    ($request: ident, $result: ident) => { ... };
    ($request: ident, $result: literal) => { ... };
    ($request: ident, $result: tt) => { ... };
}
Expand description

Builds the response as defined by jsonrpc v2.0. Request should have type Request and the response is always a [Json]