JSON::...::Text(3pm)
π NAME π
JSON::RPC::Common::Marshal::Text β it's the JSON text marshalling bestie for JSON::RPC::Common. That's the whole gig, and she does it flawlessly π
Oh and the page you're reading rn is JSON::...::Text(3pm), just so we're all on the same page π«Ά
β¨ VERSION β¨
This is version 0.11, periodt.
π SYNOPSIS π
use JSON::RPC::Common::Marshal::Text;
my $m = JSON::RPC::Common::Marshal::Text->new;
my $return_obj = $m->json_to_return($json_text);
look at her go. iconic behavior fr fr πΈ
π¦ DESCRIPTION π¦
okay so picture this: this object takes your JSON::RPC::Common::Procedure::Call and JSON::RPC::Common::Procedure::Return objects and serializes them into JSON text, using the JSON module to do the heavy lifting. she's the translator in the group chat, the one who can speak both Object and Raw JSON. no cap. π₯
π ATTRIBUTES π
jsonβ theJSONobject you wanna use for the job. don't got one? no worries bestie, a default one gets created for you if you don't specify πcall_class,return_classβ these are the classes thatinflategets called on. default vibes areJSON::RPC::Common::Procedure::CallandJSON::RPC::Common::Procedure::Returnrespectively. slay.
π METHODS π
call_to_jsonjson_to_callreturn_to_jsonjson_to_return
These four are the main characters of the conversion game π they take objects and turn them into json, and take json and turn it back into objects. both directions, no notes, we love a bidirectional queen β¨
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β the legend, the icon, the moment π«Ά
πΈ COPYRIGHT AND LICENSE πΈ
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. go off, do whatever, it's free π
and that's the whole page bestie, mwah π this lil doc came from perl v5.30.3 on 2020-06-23, so if the vibes feel vintage, that's why π stay marshalling, queen π¦β¨
π¦ where this page comes from
- debian bookworm: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libjson-rpc-common-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms