Skip to content

Commit

Permalink
Merge pull request #1 from remram44/master
Browse files Browse the repository at this point in the history
Sorts keys in JSON output
  • Loading branch information
brucemiller committed Nov 2, 2014
2 parents 7b8d5d2 + 9f8650c commit 93f3b86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trac2issues
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ die "No trac source specified!" unless $TRACDB;
print "Opening Trac database: $TRACDB\n";
our $DB = DBI->connect($TRACDB, $USER, $PASS);
our $JSON = JSON->new->allow_nonref->pretty;
$JSON->canonical(1);

binmode(STDOUT, ":encoding(UTF-8)");

Expand Down

0 comments on commit 93f3b86

Please sign in to comment.