JSON::...:Parser(3pm)

okay bestie, welcome to the JSON::...:Parser(3pm) page from the User Contributed Perl Documentation β€” yes, the name is literally giving ellipsis-core, and we respect it πŸ’…βœ¨

🌸 NAME 🌸

JSON::RPC::Parser - Parse JSON RPC Requests from Plack::Request

✨ SYNOPSIS ✨

bestie, here's the whole little incantation β€” copy it exactly and you're in business 🫢

use JSON::RPC::Parser;

my $parser = JSON::RPC::Parser->new(
    coder => JSON->new
);
my $procedure = $parser->construct_from_req( $request );

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the entire job of this module is honestly iconic: it constructs a JSON::RPC::Procedure object from a Plack::Request object. that's it. that's the vibe. no extra drama, just request-in, procedure-out, and it ate πŸ’–


mwah πŸ’‹ this page is from perl v5.42.0, dated 2015-08-27, and it's the JSON::...:Parser(3pm) manual page β€” periodt 🫢🌈

πŸ“¦ where this page comes from