Minimalist Java library for composing and parsing JSON-RPC 2.0 messages (clone
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


JSON-RPC 2.0 Base

Copyright (c) Vladimir Dzhuvinov, 2009 - 2012


This package provides Java classes to represent, parse and serialise JSON-RPC
2.0 requests, notifications and responses.


	* Java 1.6 or later
	* The package depends on the JSON Smart library for JSON encoding and
	  decoding (this is a fork of the popular JSON.simple toolkit, but with
	  more efficent parsing). Its classes are conveniently included in the 
	  distributed JAR so you don't have to download and install it 
	  separately. JSON Smart is at

Package content:

        README.txt                  This file.
        LICENSE.txt                 The software license.
	CHANGELOG.txt               The change log.
	jsonrpc2-base-{version}.jar JAR file containing the compiled package
	                            classes as well as the classes of the 
				    required JSON Smart package for JSON 
				    encoding and decoding.               Example showing the complete life cycle of a 
	                            JSON-RPC 2.0 request.               Example demonstrating how to parse a 
	                            JSON-RPC 2.0 message and determine its type 
				    - whether it's a request, notification or 
				    response.               Example showing how to use the utility 
	                            classes to extract positional or named 
				    parameters from incoming requests with 
				    proper regard of type, and mandatory/optional 
	javadoc/                    The Java Docs for this package.
	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 Base documentation, examples and updates visit

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

The JSON Smart library is at