Oops. ENV setting should be in ::XS classes
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Serialize / JSON.pm
index 730ef22..a9db571 100644 (file)
@@ -2,9 +2,6 @@ package Catalyst::Action::Serialize::JSON;
 
 use Moose;
 use namespace::autoclean;
-BEGIN {
-    $ENV{'PERL_JSON_BACKEND'} = 2; # Always use compiled JSON::XS
-}
 
 extends 'Catalyst::Action';
 use JSON ();