NAME

Apache2::JSONRPC - mod_perl handler for JSONRPC

SYNOPSIS

<Location /json-rpc>
    SetHandler              perl-script
    PerlOptions             +GlobalRequest
    PerlResponseHandler     Apache2::JSONRPC->handler
    JSONRPC_Class           Apache2::JSONRPC::Dispatcher
</Location>

DESCRIPTION

Apache2::JSONRPC implements the JSONRPC protocol as defined at http://www.json-rpc.org/. When a JSONRPC request is received by this handler, it is translated into a method call. The method and it's arguments are determined by the JSON payload coming from the browser, and the package to call this method on is determined by the JSONRPC_Class apache config directive.

A sample "dispatcher" module is supplied, Apache2::JSONRPC::Dispatcher

Note: This is an alpha release. The interface is somewhat stable and well-tested, but other changes may come as I work in implementing this on my website.

AUTHOR

Tyler "Crackerjack" MacDonald <japh@crackerjack.net> and David Labatte <buggyd@justanotherperlhacker.com>

LICENSE

Copyright 2006 Tyler "Crackerjack" MacDonald <japh@crackerjack.net>

This is free software; You may distribute it under the same terms as perl itself.

SEE ALSO

The "examples" directory that comes with the distribution contains a few JSONRPC samples.

JSON::Syck, http://www.json-rpc.org/.