switch from JSON to JSON::MaybeXS
[scpubgit/JSON-Diffable.git] / lib / JSON / Diffable.pm
index d0c837c..14e531d 100644 (file)
@@ -4,14 +4,14 @@ use strictures 1;
 
 package JSON::Diffable;
 
-use JSON ();
+use JSON::MaybeXS ();
 use Exporter 'import';
 
 our $VERSION = '0.000001'; # 0.0.1
 
 $VERSION = eval $VERSION;
 
-my $real = JSON->new->relaxed->allow_nonref->utf8;
+my $real = JSON::MaybeXS->new->relaxed->allow_nonref->utf8;
 
 our @EXPORT_OK = qw( encode_json decode_json );