briandilley/jsonrpc4j

JsonRpcClient Should omit empty/null params

jwx11 opened this issue · 0 comments

jwx11 commented

From the JSON-RPC 2.0 Specs

params
A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.

The empty params added in JsonRpcClient.addNoneArguments() cause invalid params in some services.

can we have options to omit the empty params?