
When opening a .json file, I want to save the file, but it is only displaying it in the browser itself. Where can I setup this behaviour?
I have the standard installed only without any other plug/add- in. I tried to add manually an entry in the mimeTypes.rdf file equal to the pdf entry and it is visible in the menu tools/ application as well.
But it is opening always in the browser view and I can't save it as a json file.
Entries in the mime File:
<RDF:Description RDF:about="urn:mimetype:application/json" NC:value="application/json"> <NC:handlerProp RDF:resource="urn:mimetype:handler:application/json"/> </RDF:Description>
<RDF:li RDF:resource="urn:mimetype:application/json"/>
<RDF:Description RDF:about="urn:mimetype:handler:application/json" NC:alwaysAsk="true" />
All Replies (1)
Firefox 44+ has a built-in JSON viewer that supports "application/json" documents. You can set devtools.jsonview.enabled to false if you have a Firefox Developer Edition version that sets the prefs to true.
You can click the "Raw data" button and save the file via "Save Page As". A possible workaround to disable the JSON Viewer is to use the view-source: protocol as a prefix if Raw Data and "Pretty Print" is not acceptable.