no need for OurPkgVersion with modern dzil
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / Deserialize / JSON.pm
index ebac390..fecc7bc 100644 (file)
@@ -5,10 +5,7 @@ use namespace::autoclean;
 use Scalar::Util qw(openhandle);
 
 extends 'Catalyst::Action';
-use JSON;
-
-our $VERSION = '1.03';
-$VERSION = eval $VERSION;
+use JSON::MaybeXS qw(JSON);
 
 sub execute {
     my $self = shift;