File: README

package info (click to toggle)
libcatalyst-action-serialize-data-serializer-perl 1.08-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 248 kB
  • sloc: perl: 2,409; makefile: 2
file content (70 lines) | stat: -rw-r--r-- 1,681 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
NAME
    Catalyst::Action::Serialize::Data::Serializer - Serialize with
    Data::Serializer

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 <adam@stalecoffee.org>, with lots of help from mst and
    jrockway

    Marchex, Inc. paid me while I developed this module.
    (<http://www.marchex.com>)

CONTRIBUTORS
    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>

COPYRIGHT
    Copyright (c) 2006-2013 the above named AUTHOR and CONTRIBUTORS

LICENSE
    You may distribute this code under the same terms as Perl itself.