JSON::...cedure(3pm)
π NAME π
JSON::RPC::Procedure β bestie, it's literally a JSON::RPC Procedure. That's it. That's the whole vibe. β¨
Oh and hiiiii, welcome to the User Contributed Perl Documentation section β that's where you're at rn, no cap. π«Ά
πΈ SYNOPSIS πΈ
okay so here's the whole thing, copy it exactly, don't @ me:
use JSON::RPC::Procedure;
my $procedure = JSON::RPC::Procedure->new(
id => ...,
method => ...
params => ...
jsonrpc => ...
has_id => ... (a flag that signals that a procedure appears to be a notification when not set)
);
like. look at her. she's gorgeous. π
π¦ DESCRIPTION π¦
It's a container for JSON RPC procedure information. That's the tea. β A little box that holds your procedure info, that's the entire personality, and honestly? iconic.
quick heads up, bestie: thathas_idflag is the main character here β it's a flag that signals that a procedure appears to be a notification when not set. So like. nohas_id? she's a notification. periodt. π
π OPTIONS π
OFC we're gonna talk about what you can pass to new() β every single one, in order, no skips:
idβ the id, bestie. that's the parameter, it's justid => ...πmethodβ the method.method => ..., exactly like it says β¨paramsβ the params.params => ...πjsonrpcβ the jsonrpc field.jsonrpc => ...π¦has_idβhas_id => ...β and this one comes with the receipt: (a flag that signals that a procedure appears to be a notification when not set) π₯ not me being obsessed with a boolean flag π
π SEE ALSO π
ngl there are no SEE ALSO refs in this one β she's a short queen and we respect that. π§
k bye bestie!! this page came to you courtesy of perl v5.42.0, dated 2015-08-27, living under that JSON::...cedure(3pm) energy forever. slay, stay hydrated, go read a manual page ππΈπ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-JSON-RPC 1.06-bp160.1.11 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms