Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advantages of using a standard JSON-RPC implementation

I always end up using my own minimalistic wrapper for JSON-RPC (because it's trivially simple): am I missing out on something compared to standard libraries?

like image 844
akosch Avatar asked Dec 06 '25 02:12

akosch


1 Answers

Yes it's simple. In past I took similar approach as yours and had my own minimal json-rpc implementation. Now I use jsonrpc2 for a fairly complex application. What I was missing earlier

  • Didn't have batched call support
  • All error code supported
  • better tested library
  • more goodies like rpc processor (check jsonrpc2's documentation)
  • other obvious advantages of open source :-)
like image 160
Shekhar Avatar answered Dec 09 '25 18:12

Shekhar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!