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