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?
Vybrané riešenie
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.
Čítať túto odpoveď v kontexte 👍 0Všetky odpovede (1)
Vybrané riešenie
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.