跳到主要内容
Modern JSON Formatter

Modern JSON Formatter EN

evg4b · Edge MV3

Format JSON in a modern way. With guaranteed order of keys, big numbers, jq queries, expandable/collapsable properties and more.

5.0/5 1 人评分 72用户 v2.2.0当前版本
权限提示 该扩展申请访问所有网站(<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。

截图

  • Modern JSON Formatter 截图
  • Modern JSON Formatter 截图
  • Modern JSON Formatter 截图
  • Modern JSON Formatter 截图
  • Modern JSON Formatter 截图

简介

KEY FEATURES:
- Fast parsing and formatting in a Rust core compiled to WebAssembly
- Numbers shown exactly as written, so integers and decimals too large for JavaScript keep every digit
- Keys kept in the order the server sent them, duplicated keys included
- Expand and collapse any object or array; a collapsed node shows how many properties or items it holds
- Formatted and Raw views of the response
- [jq](https://jqlang.org) queries on the current document, run by the [jaq](https://github.com/01mf02/jaq) engine and
extended with `md5`, `sha256` and `sha512`
- Query history per site, offered as autocomplete in the query input
- A built-in jq manual whose examples run in place
- Download the document as received, formatted or minified
- URLs and email addresses inside strings open with Ctrl+click (⌘+click on macOS)
- Selecting and copying gives valid JSON: toggles and counters stay out of the copied text
- Tolerates comments, trailing commas, `NaN` and `Infinity` in the document
- Works on JSON served as plain text and on local `file://` pages (enable "Allow access to file URLs" for the extension)
- Files over a size limit (10 MB by default) are formatted as plain text instead of an interactive tree
- Light and dark themes that follow the system setting
- Settings for the toolbar buttons, the download button's behaviour and the size limit, plus a page to review or clear
the query history

PRIVACY POLICY:

Modern Json Formatter processes everything on your device and sends nothing to us or to anyone else.

- We do not collect any personal or sensitive data.
- The extension makes no network requests. A WebAssembly module bundled with the extension parses, formats, queries
and hashes the JSON on your device.
- There is no analytics, telemetry or tracking.
- No data is shared with third parties, advertisers or external services.

The extension keeps two kinds of data in your browser:

- The jq queries you run successfully, grouped by site (the hostname, or the file path for local files), in the
extension's IndexedDB. They feed the query autocomplete, and you can review and clear them on the options page.
- Your settings (toolbar buttons, download mode, size limit), in `chrome.storage.sync`. If browser sync is turned on,
your browser syncs them across your devices through your browser account, as it does for other extensions.

LICENSE:
MIT License - https://github.com/evg4b/modern-json-formatter?tab=MIT-1-ov-file

FEEDBACK & SUPPORT:
https://github.com/evg4b/modern-json-formatter/issues

SOURCE CODE:
https://github.com/evg4b/modern-json-formatter

SUPPORT THE PROJECT:
https://ko-fi.com/X8X0SWTP3

Modern JSON Formatter 是做什么的

Modern JSON Formatter 是一款面向 Edge 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:Format JSON in a modern way. With guaranteed order of keys, big numbers, jq queries, expandable/collapsable properties and more.在微软 Edge 加载项商店上,它当前版本 2.2.0,评分 5(1 人评价),约 72 名用户。

适合什么人用

从功能定位看,Modern JSON Formatter 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。

怎么安装 Modern JSON Formatter

  1. 打开微软 Edge 加载项商店上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

Modern JSON Formatter 是免费的吗?

Modern JSON Formatter 在微软 Edge 加载项商店免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

Modern JSON Formatter 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

Modern JSON Formatter 支持哪些浏览器?

当前收录的版本来自微软 Edge 加载项商店,适用于 Edge。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 Modern JSON Formatter?

在扩展管理页找到 Modern JSON Formatter,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

站点访问(可选) 2

  • *://*/*
  • <all_urls>

接口权限 2

  • downloads
  • storage