Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Brace Lens 预览

Brace Lens 作者: Matheus Mello

Turns raw JSON and JSON Lines into a fast, searchable tree. Copy exact paths. Free, private and entirely on your device.

0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Raw JSON as a calm, collapsible treeFilter keys and values, jump between matches50 MB files stay responsivePaste, drop or open JSON and JSON LinesInvalid JSON points to the exact character
关于此扩展
Raw JSON, made readable.

Open a supported raw JSON response and Brace Lens shows it as a calm, collapsible tree instead of a wall of text. Everything happens in your browser. Documents are never uploaded, tracked or saved by the extension; only two preferences are stored.

Automatic viewing requires a displayed raw document and the browser's site-access permission. Browser internal pages and add-on stores cannot be changed. Chrome and Edge require the extension's “Allow access to file URLs” switch for local file pages. Firefox has no equivalent switch. Its protected native viewer for local JSON files is outside the HTTP(S) header hook. Open those files in the paste workspace. Chrome and Edge also download some JSON Lines responses instead of displaying them; open those files in the paste workspace. For HTTP(S) JSON, Firefox works with its default JSON viewer enabled: Brace Lens adjusts only the Content-Type of eligible top-level navigation responses so its detector can run. No browser preference is changed. Switching automatic viewing off leaves headers untouched on subsequent navigations; if reading that preference fails, the Firefox hook also makes no header changes. A successful read with no saved preference defaults to on.

For undeclared plain text, automatic viewing requires an opening object or array ({ or [). Detection checks up to 256 characters in each of the first four text nodes; responses with longer leading whitespace can be opened in the paste workspace. Scalar JSON values work on declared JSON pages and in the paste workspace.

Explore
• Collapse and expand any object or array, or everything at once, with indent guides that keep deep structures readable.
• Strings, numbers, booleans and null each have their own colour. Folded rows preview their first few values.
• Web addresses inside strings become links. Only http and https addresses, and only when you click them.
• Switch to Raw to see the original text exactly as it arrived.

Find
• Type to filter keys and values. Matches are highlighted and shown with their parent objects.
• Press Enter and Shift+Enter, or use the arrows, to move between matches. Escape clears the filter and keeps your place.

Copy
• Copy the JSONPath of any value (for example $.items[3].id) or the value itself, with a click or from the keyboard.
• Large integers and very precise decimals are shown and copied exactly as written, never rounded.

Large, deep and unusual input
• Large file mode keeps 50 MB documents and millions of values responsive with a virtual tree, and shows the size and node count.
• Deeply nested documents open without crashing (tested at 100,000 levels).
• JSON Lines (NDJSON) is read record by record.
• Invalid JSON shows the line, column and the exact character where parsing stopped.
• Hidden control and text-direction characters in tree keys and string previews are shown as visible escapes. Raw view and copied text preserve the original characters.

Work your way
• Paste workspace: paste, drop or open a JSON or JSON Lines file, such as a download, and explore it with the same tree.
• Light, dark or system theme.
• Full keyboard support: arrow keys, Home and End, Space to fold, Enter to copy a path, / to filter.
• Inspect the parsed value in DevTools as braceLens. This console value uses native JavaScript numbers, so large integers and very precise decimals can round there; the tree and its copy actions keep their exact digits.

Private by design
• No account, analytics, ads, affiliate links or remote code.
• The extension makes zero network requests.
• Documents are never saved. Only your theme and the automatic-viewing switch are stored, on this device.
• Ordinary web pages are never changed. Plain text that only looks like JSON is left as it is.

Free, with every feature included.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
  • 复制附加组件 ID
版本
1.0.0
大小
68.48 KB
上次更新
22 天前 (2026年11月8日)
相关分类
  • 网页开发
许可证
MIT 许可证
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
标签
  • dark mode
  • download
  • search
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

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