What is the status of JSON-RPC on Lua?

85 views
Skip to first unread message

Eduardo Ochs

unread,
Mar 2, 2025, 4:59:05 PM3/2/25
to Lua list
Hi list,

what is the status of JSON-RPC on Lua? I tried to run this,

luarocks search json

and I took a look at the pages of the first 20-ish results... they
were either very old or no-so-old-but-luarocks-couldn't-install-them...

Any recommendations?
Any meta-recommendations?

Thanks in advance,
Eduardo Ochs...

Rett Berg

unread,
Mar 2, 2025, 10:44:56 PM3/2/25
to lua-l
Meta-recomendation: The json-rpc spec is TINY: https://www.jsonrpc.org/specification

I once implemented a rust crate which implemented it: https://docs.rs/jrpc/0.4.1/jrpc/

If I were to implement the same thing for lua I would lean on my pod library[1] for implementing the payload types and one of the numerous JSON libraries to convert from the pod table -> json string.

Hope that helps,
Rett

Reply all
Reply to author
Forward
0 new messages