1 package Test::Catalyst::Action::Deserialize::Controller::Root;
3 use base 'Catalyst::Controller';
4 __PACKAGE__->config->{namespace} = '';
9 'text/x-yaml' => 'YAML',
10 'text/x-data-dumper' => [ 'Data::Serializer', 'Data::Dumper' ],
11 'text/broken' => 'Broken',
16 sub test :Local :ActionClass('Deserialize') {
17 my ( $self, $c ) = @_;
18 $c->res->output($c->req->data->{'kitty'});