Website broken link

124 views
Skip to first unread message

E. Madison Bray

unread,
Nov 25, 2020, 2:46:33 PM11/25/20
to JSON-RPC
Hello,

I recently implemented JSON-RPC for a product I'm working on and have found it a joy to work with (I have a quibble of lack of support for mixing positional and keyword arguments, but I'm sure that's been discussed here before).

Anyways I was just curious about what languages had devoted libraries for implementing JSON-RPC.  I saw on the website [1] there is a link for "Implementations".  But it just links to the Wikipedia article for JSON-RPC, to an "Implementations" section which apparently vanished recently (and was not very complete anyways): https://en.wikipedia.org/w/index.php?title=JSON-RPC&diff=prev&oldid=969468511

Is there another list somewhere of known (and preferably supported) JSON-RPC implementations?

Thanks,
Madison

Pascal Charbonneau

unread,
Nov 26, 2020, 5:06:58 AM11/26/20
to json...@googlegroups.com
Personally I have implemented it in a few projects in C# on the backend and front-end (desktop) and also front-end web-applications (typescript). There are a few libraries out there for JSON-RPC in C# but the one I ended up using is vs-streamjsonrpc over web-sockets. JSON is a nice format for transport but a bit inflated. You can also have a look at MsgPack binary format which works very well with JSON-RPC when serializing and deserializing it. I have not looked at it for other languages.

What language is your project in?


--
You received this message because you are subscribed to the Google Groups "JSON-RPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-rpc+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/json-rpc/9c297de6-d0b2-46e8-b47c-fbf711902aean%40googlegroups.com.

Raymund Ang

unread,
Mar 23, 2021, 1:46:52 PM3/23/21
to json...@googlegroups.com
Hello Madison,

I have included a JSON-RPC middleware in a PHP class library I am working on. It can be integrated in any PHP project, either using vanilla PHP or frameworks. Link can be accessed below.


Best regards,
Raymund


On Wed, Nov 25, 2020 at 2:46 PM E. Madison Bray <erik....@gmail.com> wrote:
--

welfor...@gmail.com

unread,
Apr 25, 2021, 2:59:45 PM4/25/21
to JSON-RPC
There are a few but I would highly recommend you don't use one, JSON RPC is lightweight adding a framework that will have to have handler registers inside it is often over the top build the implementation that suits your use case the spec is simple and implementation can often be very simple for small use cases or complicated some implementation I do are as simple as If Statements on JSON objects created from basic JSON parsers to others that are using custom Object Serialization and Deserialization 

.NET:
microsoft/vs-streamjsonrpc: The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more. (github.com)

PHP:
datto/php-json-rpc: Fully unit-tested JSON-RPC 2.0 for PHP (github.com)

Python:
json-rpc · PyPI

Ruby:
chriskite/jimson: JSON-RPC 2.0 client and server for Ruby (github.com)

C++:
joncol/jcon-cpp: JSON RPC 2.0 library using C++ 11 and Qt 5 (github.com)

Java:
arteam/simple-json-rpc: Simple JSON-RPC for Java (github.com)
Reply all
Reply to author
Forward
0 new messages