Man pages sections > man3 > Catalyst::Action::Serialize::Data::Serializer

Catalyst::Action::Serialize::Data::Serializer - Serialize with Data::Serializer

Catalyst::Action::Serialize::Data::Serializer(3pm) User Contributed Perl Documentation Catalyst::Action::Serialize::Data::Serializer(3pm)


Catalyst::Action::Serialize::Data::Serializer - Serialize with Data::Serializer


   package MyApp::Controller::Foo;
   use Moose;
   use namespace::autoclean;
   BEGIN { extends 'Catalyst::Controller' }
       'default'   => 'text/x-yaml',
       'stash_key' => 'rest',
       'map'       => {
           'text/x-yaml'        => 'YAML',
           'application/json'   => 'JSON',
           'text/x-data-dumper' => [ 'Data::Serializer', 'Data::Dumper' ],


This module implements a serializer for use with "Data::Dumper" and others. It was factored out of Catalyst::Action::REST because it is unlikely to be widely used and tends to break tests, be insecure, and is generally weird. Use at your own risk.


Adam Jacob <>, with lots of help from mst and jrockway
Marchex, Inc. paid me while I developed this module. (<>)


Tomas Doran (t0m) <>
John Goulah
Christopher Laco
Daisuke Maki <>
Hans Dieter Pearcey
Brian Phillips <>
Dave Rolsky <>
Luke Saunders
Arthur Axel "fREW" Schmidt <>
J. Shirley <>
Gavin Henry <>
Colin Newell <>
Wallace Reis <> Copyright (c) 2006-2013 the above named AUTHOR and CONTRIBUTORS


You may distribute this code under the same terms as Perl itself.
2013-04-16 perl v5.18.1