4 use Test::Without::Module 'Cpanel::JSON::XS', 'JSON::XS';
5 use if !eval { require JSON::PP; 1; }, 'Test::More', skip_all => 'No JSON::PP';
9 diag 'Using JSON::PP ', JSON::PP->VERSION;
11 is(JSON, 'JSON::PP', 'Correct JSON class');
14 \&encode_json, \&JSON::PP::encode_json,
15 'Correct encode_json function'
19 \&decode_json, \&JSON::PP::decode_json,
20 'Correct encode_json function'
23 require 't/lib/is_bool.pm';