++ed by:
KAORU NICKL SAPER PERLANCAR SHARYANTO

36 PAUSE users
26 non-PAUSE users.

Makamaka Hannyaharamitu

NAME

 JSONRPC - (halfway) server implementation of JSON-RPC protocol

SYNOPSIS

 #--------------------------
 # In your application class
 package MyApp;

 sub own_method { # called by clients
     my ($server, @params) = @_; # $server is JSONRPC object.
     ...
     # return a scalar value or a hashref or an arryaref.
 }

 #--------------------------
 # In your main cgi script.
 use JSONRPC::Transport::HTTP;
 use MyApp;

 # a la XMLRPC::Lite
 JSONRPC::Transport::HTTP::CGI->dispatch_to('MyApp')->handle();

DESCRIPTION

This module implementes JSON-RPC (http://json-rpc.org/) server. Most ideas were borrowed from XMLRPC::Lite. Currently JSONRPC provides CGI server function.

SEE ALSO

JSONRPC::Transport::HTTP JSON XMLRPC::Lite http://json-rpc.org/

AUTHOR

Makamaka Hannyaharamitu, <makamaka[at]cpan.org>

COPYRIGHT AND LICENSE

Copyright 2005 by Makamaka Hannyaharamitu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.