Skip to content

Commit

Permalink
Pretty printing of JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Oct 9, 2011
1 parent e9fe1e8 commit a94806c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/data.pl
Expand Up @@ -105,4 +105,6 @@ sub newact {
}
close(FH);

print encode_json $revue
#print encode_json $revue
my $coder = JSON::XS->new->utf8->pretty;
print $coder->encode ($revue);

0 comments on commit a94806c

Please sign in to comment.