Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Back to regular JSON object
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Aug 29, 2018
1 parent fac5e70 commit 51dfe41
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/App/KSP_CKAN/DownloadCounts.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 51dfe41

Please sign in to comment.