SYNOPSIS
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' ],
},
);
DESCRIPTION
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.AUTHOR
Adam Jacob <[email protected]>, with lots of help from mst and jrockwayMarchex, Inc. paid me while I developed this module. (<http://www.marchex.com>)
CONTRIBUTORS
Tomas Doran (t0m) <[email protected]>John Goulah
Christopher Laco
Daisuke Maki <[email protected]>
Hans Dieter Pearcey
Brian Phillips <[email protected]>
Dave Rolsky <[email protected]>
Luke Saunders
Arthur Axel ``fREW'' Schmidt <[email protected]>
J. Shirley <[email protected]>
Gavin Henry <[email protected]>
Gerv http://www.gerv.net/
Colin Newell <[email protected]>
Wallace Reis <[email protected]>
COPYRIGHT
Copyright (c) 2006-2013 the above named AUTHOR and CONTRIBUTORSLICENSE
You may distribute this code under the same terms as Perl itself.