Cataly...ializer(3pm)
π Cataly...ializer β the manual, but make it make sense π
okay so bestie, we're in Catalyst::Action::Serialize::Data::Serializer territory, and it's from the User Contributed Perl Documentation collection. buckle up, this one is a ride π’
β¨ NAME β¨
Catalyst::Action::Serialize::Data::Serializer β serialize stuff with Data::Serializer, no cap π
π SYNOPSIS π
literally just, like, here's how you'd set it up in your controller:
package MyApp::Controller::Foo;
use Moose;
use namespace::autoclean;
BEGIN { extends 'Catalyst::Controller' }
__PACKAGE__->config(
'default' => 'text/x-yaml',
'stash_key' => 'rest',
'map' => {
'text/x-yaml' => 'YAML',
'application/json' => 'JSON',
'text/x-data-dumper' => [ 'Data::Serializer', 'Data::Dumper' ],
},
);
she's giving controller config energy π¦ and yes the nested array ref is real, [ 'Data::Serializer', 'Data::Dumper' ], don't @ me.
πΈ DESCRIPTION πΈ
so this module implements a serializer for use with "Data::Dumper" and friends. iconic, right? exceptβ
β οΈ real talk β οΈ this got factored out of Catalyst::Action::REST because it's unlikely to be widely used, and it tends to break tests, be insecure, and is generally weird. Use at your own risk. like, that's not me being dramatic, that's the actual documentation saying that. π
so yeah. she's a little chaotic. but she's our chaotic. π₯
π AUTHOR π
Adam Jacob <adam@stalecoffee.org> wrote this, with lots of help from mst and jrockway. π«Ά
and also, direct quote vibes: Marchex, Inc. paid me while I developed this module. (<http://www.marchex.com>) β sponsored development era, we love to see it πΈ
π CONTRIBUTORS π
the whole group chat showed up for this one, bestie:
- Tomas Doran (t0m)
<bobtfish@bobtfish.net> - John Goulah
- Christopher Laco
- Daisuke Maki
<daisuke@endeworks.jp> - Hans Dieter Pearcey
- Brian Phillips
<bphillips@cpan.org> - Dave Rolsky
<autarch@urth.org> - Luke Saunders
- Arthur Axel "fREW" Schmidt
<frioux@gmail.com> - J. Shirley
<jshirley@gmail.com> - Gavin Henry
<ghenry@surevoip.co.uk> - Gerv http://www.gerv.net/
- Colin Newell
<colin@opusvl.com> - Wallace Reis
<wreis@cpan.org>
fourteen legends. the way they all pulled up ππ
β COPYRIGHT β
Copyright (c) 2006-2013 the above named AUTHOR and CONTRIBUTORS π«‘
π§ LICENSE π§
You may distribute this code under the same terms as Perl itself. periodt. π β¨
and that's the whole page bestie!! go forth and serialize responsibly (or at your own risk, apparently π)
signing off from perl v5.34.0, 2022-06-09, on the page formerly known as Cataly...ializer(3pm) ππ¦πΈ
π¦ where this page comes from
- debian bookworm: libcatalyst-action-serialize-data-serializer-perl 1.08-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatalyst-action-serialize-data-serializer-perl 1.08-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatalyst-action-serialize-data-serializer-perl 1.08-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatalyst-action-serialize-data-serializer-perl 1.08-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatalyst-action-serialize-data-serializer-perl 1.08-3 Β· 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