rfletcher/safari-json-formatter
关于
一款 Safari 扩展,可将有效的 JSON 文档格式化为便于阅读的内容。
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文JSON Formatter
A Safari extension which makes valid JSON documents human-readable.
Before:

After:

Installation
Download the extension and open it with Safari 5.
Usage
Once installed, load any valid JSON document. This project's most recent commit makes a good example.
Version History
1.1
- Added folding of arrays, objects and long strings
- Added setting for auto-folding of long strings (default: on)
- Added setting for "long string" threshold (default 512 bytes)
- Added a "toggle formatting" button to switch between formatted and original JSON
- Bug Fixes
Caveats
The extension aims to produce the same JSON string that's been loaded as input, but because the original JSON has actually been parsed, some transformation may occur. In other words, the formatted JSON will always be equivalent to the original JSON, but in rare circumstances it may not match exactly. The only known example of this is kind of discrepancy is between number formats -- if the original JSON contains the numeric value 1e2, for example, the formatted JSON will display the value 100.
探索相关项目
加载中…