Groups
Groups
Sign in
Groups
Groups
lua-l
Conversations
About
Send feedback
Help
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 PM
3/2/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
3/2/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
[1]:
https://lua.civboot.org/#Package_pod
Reply all
Reply to author
Forward
0 new messages