Json – Debugging the web app with JSON/Firefox – Firefox handling of JSON


I'm attempting to debug my web application with FireFox3. However, when a JSON feed comes from my application, Firefox wants to open up the "application/json" in a new program. Is there a way to configure FireFox3 to handle JSON like regular text files and open up the JSON in the current tab?


Best Solution

The JSONView Firefox extension is really nice.

It formats, highlights, etc...

The only drawback is that it requires the mime type to be set to "application/json". But it is not really a drawback for you, because based on your "answer" (which shouldn't be an answer) your problem is that the mime type is "application/json" and as a result Firefox doesn't know what to do with it and downloads it instead of displaying.