Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

RPC::JSON::Shell
Interactive JSON-RPC Shell

RPC::JSON::Shell - Interactive JSON-RPC Shell


NAME

RPC::JSON::Shell - Interactive JSON-RPC Shell


SYNOPSIS


    perl -MRPC::JSON -e "RPC::JSON::shell"

    Not connected> connect http://www.dev.simplymapped.com/services/geocode/json.smd

    GeocodeService > geocode "1600 Pennsylvania Ave Washington DC"

    $VAR1 = [

          {

            'administrativearea' => 'DC',

            'country' => 'US',

            'longitude' => '-77.037691',

            'subadministrativearea' => 'District of Columbia',

            'locality' => 'Washington',

            'latitude' => '38.898758',

            'thoroughfare' => '1600 Pennsylvania Ave NW',

            'postalcode' => 20004,

            'address' => '1600 Pennsylvania Ave NW, Washington, DC 20004, USA'

          }

    ];


DESCRIPTION

This module is an interactive client to a JSON-RPC service. It is currently in its infancy and is likely to be very unstable. There are many bugs in this package.

connect smdUrl
Connect to the specified SMD URL

disconnect
If connected, will disconnect from the existing service. This doesn't necessarily mean that it will disconnect the socket (it will if the socket is still open), because JSON-RPC does not require a dedicated connection.

quit
Aliased to disconnected

ls
List available methods

Method Caller
By entering <method> [parameters] the shell will query the Service and display results


AUTHORS

Copyright 2006 J. Shirley <jshirley@gmail.com>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU General Public License or (b) the Artistic License.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy