Java library for creating client sessions to remote JSON-RPC 2.0 services (clone
Latest commit 1dce2e7 Jul 15, 2012 @nycholas initial commit
Failed to load latest commit information.


JSON-RPC 2.0 Client

Copyright (c) Vladimir Dzhuvinov, 2010 - 2012


Provides a client-side class for dispatching requests and notifications to a 
JSON-RPC 2.0 server. The JSON-RPC 2.0 messages are sent by HTTP(S) POST.

Optional client session features:

	* Customise the "Content-Type" header in HTTP POST requests.
	* Set an "Origin" header in HTTP POST requests to simulate Cross-Origin 
	  Resource Sharing (CORS) requests from a browser.
	* Accept HTTP cookies (if client sessions are established by this mean
	  instead of through the JSON-RPC protocol itself).
	* Customise the allowable "Content-Type" header values in HTTP POST 
	* Preserve parse order of JSON object members in JSON-RPC 2.0 response 
	  results (for human facing clients, e.g. the JSON-RPC 2.0 Shell).
	* Ignore version 2.0 checks when parsing responses to allow client 
	  sessions to older JSON-RPC (1.0) servers.

	* Parse non-standard attributes appended in JSON-RPC 2.0 responses.
	* Trust all X.509 server certificates (for HTTPS connections), including


	* Java 1.5 or later
	* The JSON-RPC 2.0 Base package com.thetransactioncompany.jsonrpc2 to 
	  represent, serialise and parse JSON-RPC 2.0 messages. Available from

Package content:

        README.txt                    This file.
        LICENSE.txt                   The software license.
	CHANGELOG.txt                 The change log.
	jsonrpc2-client-{version}.jar JAR file containing the compiled package
	javadoc/                      The Java Docs for this package.                  Example client session usage.
	build.xml                     The Apache Ant build file.
	lib/                          The package dependencies and their licenses.
	src/			      The source code for this package.
	test/                         JUnit tests for this package.

For complete JSON-RPC 2.0 Client documentation, examples and updates visit

The JSON-RPC 2.0 specification and user group forum can be found at