summaryrefslogtreecommitdiff
path: root/rhimport.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport.pm')
-rw-r--r--rhimport.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport.pm b/rhimport.pm
index 0e8b7f6..67e8440 100644
--- a/rhimport.pm
+++ b/rhimport.pm
@@ -37,7 +37,7 @@ use DateTime::TimeZone;
use LWP::Simple;
use XML::Feed;
use URI::Fetch;
-use JSON::MaybeXS;
+use JSON::Any;
my $ssh_host = "airplay";
my $ssh_user = "rhimport";
@@ -117,7 +117,7 @@ sub fetch_parse_json
my $json = $res->content;
my $data;
eval {
- my $j = JSON::MaybeXS->new(utf8 => 0);
+ my $j = JSON::Any->new(utf8 => 0);
$data = $j->decode($json);
1;
} or do {