DWIW is the most lax JSON parser and thus is always preferred for CLI work
unless DBIx::Class::Optional::Dependencies->req_ok_for ('admin');
}
+use JSON::Any qw(DWIW PP JSON CPANEL XS);
use Moose;
use MooseX::Types::Moose qw/Int Str Any Bool/;
use DBIx::Class::Admin::Types qw/DBICConnectInfo DBICHashRef/;
use MooseX::Types::Path::Class qw(Dir File);
use MooseX::Types::LoadableClass qw(LoadableClass);
use Try::Tiny;
-use JSON::Any qw(DWIW XS JSON);
use namespace::autoclean;
=head1 NAME
# Makefile.PL in $AUTHOR mode
my $json_any = {
- 'JSON::Any' => '1.22',
+ 'JSON::Any' => '1.23',
};
my $moose_basic = {
test_admin_script => {
req => {
%$admin_script,
+ 'JSON::Any' => '1.30',
'JSON' => 0,
+ 'JSON::PP' => 0,
+ 'Cpanel::JSON::XS' => 0,
'JSON::XS' => 0,
$^O eq 'MSWin32'
# for t/admin/10script.t
$ENV{PERL5LIB} = join ($Config{path_sep}, @INC);
require JSON::Any;
-my @json_backends = qw/XS JSON DWIW/;
+my @json_backends = qw(DWIW PP JSON CPANEL XS);
# test the script is setting @INC properly
test_exec (qw|-It/lib/testinclude --schema=DBICTestAdminInc --connect=[] --insert|);