Normally firefox will pop up and ask you to view application/json as a file (like a file download). This can get annoying.
To view this in Firefox 3 Directly you can use ‘Open in Browser’ add in:
https://addons.mozilla.org/en-US/firefox/addon/8207
or the JSONovich is a Firefox extension that pretty-prints and colorizes JSON content.
http://lackoftalent.org/michael/blog/json-in-firefox/
To associate it with an external application directly you can use Firefox ‘MIME Edit’. It word with Firefox 2. You can get it from: https://addons.mozilla.org/en-US/firefox/addon/4498
You can do the same in IE without needing a tool by updating the Windows Registry as follows:
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
“CLSID”=”{25336920-03F9-11cf-8FD0-00AA00686F13}”
“Encoding”=hex:08,00,00,00
Further info at: http://msdn.microsoft.com/en-us/library/ms775148.aspx