Skip to content

Commit

Permalink
Sorts keys in JSON output
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Oct 31, 2014
1 parent 7b8d5d2 commit 9f8650c
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 9f8650c

Please sign in to comment.