NAME
jsonpretty - JSON prettification script
SYNOPSIS
$ jsonpretty <file.json
$ jsonpretty file.json
DESCRIPTION
The jsonpretty script reads the JSON file given on STDIN or as its first argument, decodes it (allowing errors such as shell style comments and extra trailing commas on lists), then pretty prints it.
The pretty printed form is indented and has hash keys sorted and as such is suitable for diffing.
This program always works in utf8. If your JSON is not valid utf8, please ask the nearest internationalisation expert to kill you with a big hammer.
AUTHOR
Matt S. Trout <mst@shadowcat.co.uk>
CONTRIBUTORS
None required yet. Maybe this code is perfect (hahahahaha ...).
COPYRIGHT
Copyright (c) 2011 the App::JSONPretty "AUTHOR" and "CONTRIBUTORS" as listed above.
LICENSE
This library is free software and may be distributed under the same terms as perl itself.