Chapter 8. JsonRPC package

Table of Contents

files
JSONRPC functionality
Native JSON extension emulation layer
API documentation

files

  • jsonrpc.inc: contains the classes implementing the JSONRPC client and the JSON encoding/decoding functionality. include() this and xmlrpc.inc in your PHP files to use the classes

  • jsonrpcs.inc: contains the JSONRPC server class. include() this in addition to xmlrpc.inc, xmlrpcs.inc and jsonrpc.inc to get server functionality

  • json_extension_api.php: contains the functions that emulate the php JSON extension API. include() this in addition to xmlrpc.inc and jsonrpc.inc in your PHP files to have access to the required functionality

  • server.php:

  • benchmark.php:

  • testsuite.php: testsuite used to verify adherence of this implementation to the native JSON extension