
open json file?
There's no .json in the default programs, so I can't view them. How can I add .json to default programs and have Firefox open them?
Gekozen oplossing
Firefox has a built-in JSON viewer that activates when a server sends a file as "application/json" document and when you open a .json file or drag the .json file in a Firefox window (tab).
You can set this pref to true to enable this viewer.
- devtools.jsonview.enabled = true
Note that the file needs to have a .json file extension to make the JSON viewer kick in.
Dit antwoord in context lezen 👍 0Alle antwoorden (1)
Gekozen oplossing
Firefox has a built-in JSON viewer that activates when a server sends a file as "application/json" document and when you open a .json file or drag the .json file in a Firefox window (tab).
You can set this pref to true to enable this viewer.
- devtools.jsonview.enabled = true
Note that the file needs to have a .json file extension to make the JSON viewer kick in.