File: XS.pm

package info (click to toggle)
libcatalyst-action-rest-perl 1.20-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 476 kB
  • ctags: 175
  • sloc: perl: 1,694; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Catalyst::Action::Deserialize::JSON::XS;
$Catalyst::Action::Deserialize::JSON::XS::VERSION = '1.20';
use Moose;
use namespace::autoclean;
BEGIN {
    $ENV{'PERL_JSON_BACKEND'} = 2; # Always use compiled JSON::XS
}

extends 'Catalyst::Action::Deserialize::JSON';
use JSON::XS ();

__PACKAGE__->meta->make_immutable;

1;