Which version of the JSON-RPC does Bitcoin use?
1.0, but with a couple of 2.0 features:

"Batch" calls are supported.

And the 2.0 error semantics are used.

Passing named parameters is not supported.  "Patches welcome" if you want to add full 2.0 support.