From 51dfe4115a0853e10162b643971ba970e297799d Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Wed, 29 Aug 2018 01:20:28 -0500 Subject: [PATCH] Back to regular JSON object --- lib/App/KSP_CKAN/DownloadCounts.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/App/KSP_CKAN/DownloadCounts.pm b/lib/App/KSP_CKAN/DownloadCounts.pm index ce5b56c..4e2480f 100644 --- a/lib/App/KSP_CKAN/DownloadCounts.pm +++ b/lib/App/KSP_CKAN/DownloadCounts.pm @@ -10,7 +10,7 @@ use File::chdir; use File::Slurper qw(read_text write_text); use File::Basename qw(basename); use Try::Tiny; -use JSON::PP; +use JSON; use File::Path qw(mkpath); use App::KSP_CKAN::Tools::Git; use Moo; @@ -57,9 +57,8 @@ method _build__http { } method _build__json { - return JSON::PP->new + return JSON->new ->indent(1) - ->indent_length(0) ->canonical(1) ->allow_blessed(1) ->convert_blessed(1);