2 use warnings FATAL => 'all';
6 unless ( eval { require Cpanel::JSON::XS; 1 } ) {
7 plan skip_all => 'No Cpanel::JSON::XS';
10 is( JSON, 'Cpanel::JSON::XS', 'Correct JSON class' );
13 \&Cpanel::JSON::XS::encode_json,
14 'Correct encode_json function'
18 \&Cpanel::JSON::XS::decode_json,
19 'Correct encode_json function'
22 require 't/lib/is_bool.pm';