Json RPC extractor for axum

JsonRpcExtractor parses JSON-RPC requests and validates it's correctness.

```rust use axum_jrpc::{JrpcResult, JsonRpcExtractor, JsonRpcRepsonse};

fn router(req: JsonRpcExtractor) -> JrpcResult { let reqid = req.getanswerid()?; let method = req.method(); let response = match method { "add" => { let params: [i32; 2] = req.parseparams()?; JsonRpcRepsonse::success(reqid, params[0] + params[1]); } m => req.methodnot_found(m) };

Ok(response)

} ```

docs.rs Crates.io