DOKK / manpages / debian 12 / libjson-rpc-common-perl / JSON::RPC::Common::Procedure::Call::Version_2_0.3pm.en
JSON::RPC::Common::Procedure::Call::Version_2_0(3pm) User Contributed Perl Documentation JSON::RPC::Common::Procedure::Call::Version_2_0(3pm)

JSON::RPC::Common::Procedure::Call::Version_2_0 - JSON-RPC 2.0 Procedure Call

version 0.11

        use JSON::RPC::Common::Procedure::Call;
        my $req = JSON::RPC::Common::Procedure::Call->inflate({
                jsonrpc => "2.0",
                id      => "oink",
                params  => { foo => "bar" },
        });

This class implements JSON-RPC Procedure Call objects according to the 2.0 specification proposal: <http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal>.

JSON RPC 2.0 reinstate notifications, and allow the same format for parameters.

Requests are considered notifications only when the "id" field is missing, not when it's null.

Yuval Kogman <nothingmuch@woobling.org>

This software is copyright (c) 2014 by Yuval Kogman and others.

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

2020-06-23 perl v5.30.3