JSON::RPC::Common::Procedure::Call::Version_1_0 - JSON-RPC 1.0 request
use JSON::RPC::Common::Procedure::Call; my $req = JSON::RPC::Common::Procedure::Call->inflate({ # 1.0 doesn't specify the version id => "oink", params => [ 1 .. 3 ], });
This class implements requests according to the JSON-RPC 1.0 spec: http://json-rpc.org/wiki/specification.
JSON-RPC 1.0 requests are considered notifications if the id is null.
id
To install JSON::RPC::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::RPC::Common
CPAN shell
perl -MCPAN -e shell install JSON::RPC::Common
For more information on module installation, please visit the detailed CPAN module installation guide.