Hi Thijs,

If I recall correctly, JSON-RPC (any version) doesn't have named parameters, 
this is an extension on the spec. There are (were) a few explains of this being 
done, but it seems that the people that were doing this have now revoked the 
code from the public domain.

Regards,
Micheil Smith
--
BrandedCode.com

On 29/05/2012, at 1:26 PM, Thijs Koerselman wrote:

> Btw, I'd need both client and server.
> 
> 
> On Tue, May 29, 2012 at 2:25 PM, Thijs Koerselman
> <thijskoersel...@gmail.com> wrote:
>> Hi,
>> 
>> Can anyone recommend me a jsonrpc 2.0 library which can use named
>> parameters. I'm now using the bitcoin jsonrpc2 module, and although it
>> claims to be 2.0 I can't figure out how to use it with named
>> parameters.
>> 
>> Like so:
>> 
>> --> {"jsonrpc": "2.0", "method": "subtract", "params": {"subtrahend":
>> 23, "minuend": 42}, "id": 3}
>> <-- {"jsonrpc": "2.0", "result": 19, "id": 3}
>> 
>> Thijs
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to