Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
JSON Formatter 预览

JSON Formatter 作者: Arnav Kumar

Formats JSON automatically! Open Source, Available with 60+ Themes, Syntax Highlighting, automatically linkifies links and more.

5 (4 reviews)5 (4 reviews)
3,259 个用户3,259 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Selecting ThemesThemes PreviewClickable LinksDifferent Formatting ModesLight Mode
关于此扩展
JSON Formatter automatically formats and prettifies JSON in Firefox. It comes with support for syntax highlighting and over 60 themes. It also makes links clickable automatically and has multiple modes to view JSON, including Parsed Mode, Formatted Raw Mode, and Raw Mode.

Note: This extension requires additional configuration to work.
As Firefox already has an inbuilt JSON Formatter, you need to disable it for this extension to work.
to do so, go open "about:config", search "devtools.jsonview.enabled", make it "false" to disable the default JSON Formatter and you are ready to go. For more info Check out Disabling JSON Viewer in Firefox


You can toggle between modes using shortcut keys:

Parsed Mode: P key
Formatted Raw Mode: Shift + R key
Raw Mode: R key
Toggle Dark Mode: D key
Toggle Toolbar: T key

Features:
  • Over 60 themes for both light and dark mode
  • Syntax highlighting
  • Works offline
  • No tracking or analytics
  • Word wrapping and sorting order to stay organized
  • Works with any JSON webpage
  • Makes links clickable
  • Formats JSON automatically
  • Raw, Formatted Raw, and Parsed Mode
  • Remembers theme preferences
  • Shortcut keys for ease of use
  • Collapsible toolbar

Note: By default, the extension theme is "System Default." It will change according to your browser's theme. If you want it to be the theme of your choice, you have to set it from the "Extension Settings" or "Extension Options."

To change the default formatting option and other settings, set your desired option in the extension settings.

To make JSON Formatter work properly on all kinds of sites, in the extension permissions, change "Allow this extension to read and change all your data on websites you visit" from "On Click" to "On all sites," if not already set.

To use JSON Formatter in local files, enable "Allow access to file URLs" in the extension settings.

To use JSON Formatter in Incognito mode, enable "Allow in Incognito" in the extension settings.

Some URLs to test on:
https://type.fit/api/quotes
https://api.github.com/users
https://api.github.com/users/arnav-kr
https://api.github.com/repos/arnav-kr/arnav-kr/readme
https://api.npms.io/v2/search?q=dc-tokens
https://anapioficeandfire.com/api/houses/1

Created By:
Arnav Kumar,
GitHub: @arnav-kr
Twitter: @arnavkr_

Source code:
github.com/arnav-kr/json-formatter/tree/firefox

Bug reports and suggestions:
github.com/arnav-kr/json-formatter/issues

Changelog:
github.com/arnav-kr/json-formatter/blob/main/CHANGELOG.md
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
4
4
0
3
0
2
0
1
0
阅读全部 4 条评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
2.0.3.0
大小
166.15 KB
上次更新
2 年前 (2023年3月27日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • user scripts
添加到收藏集
举报此附加组件
支持这位开发者

此扩展的开发者寻求您的小小捐助以支持其持续发展。

我要捐款

Arnav Kumar 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。