json_rpc_2
json_rpc_2 copied to clipboard
Consider empty array or empty-map equivalent to having no params
I'm not sure this is a good idea.
But some clients will send {method: '...', params: []}
when no parameters are given.
So maybe it could be reasonable for the server to interpret params: []
the same as omitting parameters.