v1.21
[catagits/Catalyst-Action-REST.git] / t / jsonp.t
index f5b884a..326e402 100644 (file)
--- a/t/jsonp.t
+++ b/t/jsonp.t
@@ -2,15 +2,12 @@ use strict;
 use warnings;
 use Test::More;
 use FindBin;
+use JSON::MaybeXS;
 
 use lib ("$FindBin::Bin/lib", "$FindBin::Bin/../lib");
 use Test::Rest;
 use utf8;
 
-eval 'use JSON 2.12';
-plan skip_all => 'Install JSON 2.12 or later to run this test' if ($@);
-
-
 use_ok 'Catalyst::Test', 'Test::Serialize', 'Catalyst::Action::Serialize::JSON';
 
 my $json = JSON->new->utf8;