4 use Test::Needs { 'JSON::XS' => '3.0' }; # load first, before JSON::MaybeXS
8 diag 'Using JSON::XS ', JSON::XS->VERSION;
10 is( JSON, 'JSON::XS', 'Correct JSON class' );
12 is( \&encode_json, \&JSON::XS::encode_json, 'Correct encode_json function' );
13 is( \&decode_json, \&JSON::XS::decode_json, 'Correct encode_json function' );
15 require './t/lib/is_bool.pm';