JSON::RPC::Spec::Client - Yet another JSON-RPC 2.0 Client Implementation
use JSON::RPC::Spec::Client; my $rpc_client = JSON::RPC::Spec::Client->new; my $json_string = $rpc_client->compose('echo' => 'Hello', 1); # for notification my $json_string = $rpc_client->compose('echo' => 'Hello');
build a JSON encoded string of specifications of the JSON-RPC 2.0.
Copyright (C) nqounet.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
nqounet <mail@nqou.net>
To install JSON::RPC::Spec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::RPC::Spec
CPAN shell
perl -MCPAN -e shell install JSON::RPC::Spec
For more information on module installation, please visit the detailed CPAN module installation guide.