Revision history for {{$dist->name}}
{{$NEXT}}
+ * Switch from JSON to JSON::MaybeXS to get a better choice of JSON parsers.
1.15 2014-05-07 09:02:44-05:00 CST6CDT
suggests 'Data::Taxi';
suggests 'FreezeThaw';
suggests 'HTML::Parser';
-suggests 'JSON';
-suggests 'JSON::XS';
+suggests 'JSON::MaybeXS';
+suggests 'Cpanel::JSON::XS';
suggests 'PHP::Serialization';
suggests 'XML::Simple';
suggests 'YAML::Syck';
use Scalar::Util qw(openhandle);
extends 'Catalyst::Action';
-use JSON;
+use JSON::MaybeXS qw(JSON);
# VERSION
use namespace::autoclean;
extends 'Catalyst::Action';
-use JSON ();
+use JSON::MaybeXS qw(JSON);
# VERSION
use warnings;
use Test::More;
use FindBin;
+use Test::Requires qw(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';
my $json = JSON->new->utf8;
use warnings;
use Test::More;
use FindBin;
+use Test::Requires qw(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;