from http://crisp.tumblr.com/post/2574967567/json-pretty-print-formatting-in-bbedit
Create the script (name it what you will, I named mine “PrettyJSON.py”), and save it in the “Unix Filters” folder for BBEdit (as described in the above article.
Copy some JSON into BBEdit, select it, and apply the filter.
UPDATE: If you are using BBEdit 10…
The "PrettyJSON.py" script should be placed here: “~/Library/Application Support/BBEdit/Text Filters”
Run the filter using the menu sequence: Text->Apply Text Filter->PrettyJSON