View JSON file in Browser
If you don't want to install extensions, you can simply prepend the URL with view-source:
, e.g. view-source:http://content.dimestore.com/prod/survey_data/4535/4535.json
. This usually works in Firefox and Chrome (will still offer to download the file however if Content-Disposition: attachment
header is present).
In Chrome, use JSONView to view formatted JSON.
To view "local" *.json files:- after install You must open the Extensions option from Window menu.- Check box next to "Allow Access to File URLs"- note that save is automatic (i.e. no explicit save necessary)
Re-open the *.json file and it should be formatted.