Search code examples
javajson-rpcjsonrpc4j

Best library to implement jsonrpc 2.0 in java with bidirectional support


I am in search of a library to implement jsonrpc 2.0 in java with bidirecional support. I have found these two (JJsonRpc, jsonrpc4j) some recommendation of which one is better?


Solution

  • In the end I decided to write my own integration to the api json rpc using

    OKHttp for HTTP connections and Jackson Core for fast JSON serialisation / deserialisation

    Implementation Code:

    https://github.com/AraguaneyBits/bitcoinrpc4java/blob/master/src/main/java/com/araguaneybits/crypto/bitcoinrpc/methods/BtcRpcGateway.java