fix encoding
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Serialize / JSON.pm
index 7d29679..9d5f304 100644 (file)
@@ -4,9 +4,7 @@ use Moose;
 use namespace::autoclean;
 
 extends 'Catalyst::Action';
-use JSON ();
-
-# VERSION
+use JSON::MaybeXS qw(JSON);
 
 has encoder => (
    is => 'ro',