use Moose;
use namespace::autoclean;
+BEGIN {
+ $ENV{'PERL_JSON_BACKEND'} = 2; # Always use compiled JSON::XS
+}
extends 'Catalyst::Action::Serialize::JSON';
use JSON::XS ();
-our $VERSION = '0.96';
+our $VERSION = '1.03';
$VERSION = eval $VERSION;
-sub _build_encoder {
- my $self = shift;
- return JSON::XS->new->convert_blessed;
-}
-
__PACKAGE__->meta->make_immutable;
1;