Commit | Line | Data |
01f9819a |
1 | NAME |
79025f72 |
2 | Catalyst::Action::Serialize::Data::Serializer - Serialize with |
3 | Data::Serializer |
84e2464c |
4 | |
01f9819a |
5 | SYNOPSIS |
79025f72 |
6 | package MyApp::Controller::Foo; |
01f9819a |
7 | |
79025f72 |
8 | use Moose; |
9 | use namespace::autoclean; |
01f9819a |
10 | |
79025f72 |
11 | BEGIN { extends 'Catalyst::Controller' } |
12 | |
13 | __PACKAGE__->config( |
14 | 'default' => 'text/x-yaml', |
15 | 'stash_key' => 'rest', |
16 | 'map' => { |
17 | 'text/x-yaml' => 'YAML', |
18 | 'application/json' => 'JSON', |
19 | 'text/x-data-dumper' => [ 'Data::Serializer', 'Data::Dumper' ], |
20 | }, |
21 | ); |
01f9819a |
22 | |
23 | DESCRIPTION |
79025f72 |
24 | This module implements a serializer for use with "Data::Dumper" and |
25 | others. It was factored out of Catalyst::Action::REST because it is |
26 | unlikely to be widely used and tends to break tests, be insecure, and is |
09fbacb7 |
27 | generally weird. Use at your own risk. |
8f00a41b |
28 | |
63d41fcd |
29 | AUTHOR |
30 | Adam Jacob <adam@stalecoffee.org>, with lots of help from mst and |
31 | jrockway |
8f00a41b |
32 | |
63d41fcd |
33 | Marchex, Inc. paid me while I developed this module. |
34 | (<http://www.marchex.com>) |
8f00a41b |
35 | |
63d41fcd |
36 | CONTRIBUTORS |
3bb36dca |
37 | Tomas Doran (t0m) <bobtfish@bobtfish.net> |
38 | |
39 | John Goulah |
8f00a41b |
40 | |
63d41fcd |
41 | Christopher Laco |
8f00a41b |
42 | |
3bb36dca |
43 | Daisuke Maki <daisuke@endeworks.jp> |
01f9819a |
44 | |
3bb36dca |
45 | Hans Dieter Pearcey |
01f9819a |
46 | |
16b5133c |
47 | Brian Phillips <bphillips@cpan.org> |
48 | |
3bb36dca |
49 | Dave Rolsky <autarch@urth.org> |
01f9819a |
50 | |
3bb36dca |
51 | Luke Saunders |
01f9819a |
52 | |
3bb36dca |
53 | Arthur Axel "fREW" Schmidt <frioux@gmail.com> |
01f9819a |
54 | |
3bb36dca |
55 | J. Shirley <jshirley@gmail.com> |
01f9819a |
56 | |
259c53c7 |
57 | Gavin Henry <ghenry@surevoip.co.uk> |
58 | |
8aa1a2ee |
59 | Gerv http://www.gerv.net/ |
60 | |
61 | Colin Newell <colin@opusvl.com> |
62 | |
ac51ccd4 |
63 | Wallace Reis <wreis@cpan.org> |
64 | |
63d41fcd |
65 | COPYRIGHT |
79025f72 |
66 | Copyright (c) 2006-2013 the above named AUTHOR and CONTRIBUTORS |
01f9819a |
67 | |
68 | LICENSE |
63d41fcd |
69 | You may distribute this code under the same terms as Perl itself. |
01f9819a |
70 | |