NAME

JSON::RPC::Spec::Client - Yet another JSON-RPC 2.0 Client Implementation

FUNCTIONS

compose

    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.

LICENSE

Copyright (C) nqounet.

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

AUTHOR

nqounet <mail@nqou.net>