For documentation on the JSON server is http://drupal.org/node/239796.
For more information about creating services, see the services documentation: http://drupal.org/node/109782
Note: this module requires the services module.
Please test. This is a 2.x branch because of some new features and improvements.
* Performance improvements like adding support for PHP 5.2.x json_encode() when available. * GZIP support when available. * Code clean up. * API Change. json_load() has been renamed to json_server_load().
This recipe shows how to create JSON RPC client and server objects. The aim is to mimic the standard python XML-RPC API both on the client and server sides, but using JSON marshalling. It depends on cjson (http://pypi.python.org/pypi/python-cjson) for the encoding/decoding of JSON data. This recipe tries to reuse the code of XML-RPC as much as possible.
json-httpd is a library that provides a web server with JSON-RPC capabilities. The library makes it easy to develop a WUI for application using static HTML and JAVA using JSON-RPC for communication. It also works as a standalone web server.