newcomer question: Generating JSON-RPCs from a descriptor language?

136 views
Skip to first unread message

Robert Poor

unread,
Dec 11, 2023, 9:10:09 AM12/11/23
to JSON-RPC
Some people on this list may be familiar with MACH message passing and the compantion MiG (Mach Interface Generator).  MiG takes RPC descriptions and generates the C code to send and receive MACH messages "as if they were ordinary C calls".

Does something like this exist for JSON-RPC?

Alex Efros

unread,
Dec 12, 2023, 3:46:21 AM12/12/23
to json...@googlegroups.com
Hi!

On Mon, Dec 11, 2023 at 06:08:41AM -0800, Robert Poor wrote:
> Does something like this exist for JSON-RPC?

Yeah, there are some, just google it for your language. Some examples:
https://open-rpc.org/developers (not sure, but probably Javascript/Typescript)
https://github.com/mzernetsch/jrgen (Javascript/Typescript)
https://github.com/Skycoder42/json_rpc_codegen (Dart)

--
WBR, Alex.
Reply all
Reply to author
Forward
0 new messages