JSON::...ion_1_0(3pm)

πŸ“¦
version 0.11 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– JSON::RPC::Common::Procedure::Call::Version_1_0 β€” the whole vibe πŸ’–

okay so bestie, welcome to the User Contributed Perl Documentation page for JSON::RPC::Common::Procedure::Call::Version_1_0, which is genuinely such a mouthful but we love her anyway 🫢


🌸 NAME 🌸

JSON::RPC::Common::Procedure::Call::Version_1_0 β€” it's a JSON-RPC 1.0 request, that's the whole thing, that's her πŸ’…


✨ VERSION ✨

version 0.11 β€” periodt, that's the number, don't come for me πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

here's how you actually use her, no cap:

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 ],
});

see how id is "oink"? iconic. the params are just [ 1 .. 3 ]. and yes, the comment in there literally says # 1.0 doesn't specify the version because 1.0 does NOT specify the version, that's just the rules, iykyk 🌈


πŸ¦‹ DESCRIPTION πŸ¦‹

so this class implements requests according to the JSON-RPC 1.0 spec over at:

<http://json-rpc.org/wiki/specification>

and here's the one thing you gotta remember or you WILL be confused, fr fr:

JSON-RPC 1.0 requests are considered notifications if the "id" is null. like, null id = notification. that's it. that's the rule πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Yuval Kogman <nothingmuch@woobling.org> β€” king behavior, we stan 🫢


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. so like, go off, remix it, slay ✨


and that's the page bestie!! this one was generated with perl v5.30.3 on 2020-06-23 under the JSON::...ion_1_0(3pm) title, mwah πŸ’‹ bye bye πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from