macOS
brew install jsonlintlocal Homebrew formula metadata
安装
brew install jsonlintlocal Homebrew formula metadata
sudo apt install jsonlintDebian stable package indexes · jsonlint · 来源: deb.debian.org
概览
JSON parser and validator with a CLI
历史
JSONLint is a JavaScript JSON parser and validator distributed as a small command-line tool. In package-manager culture it sits in the older generation of single-purpose JSON CLI utilities: install it, pipe a file or stdin through it, and get either formatted JSON or a syntax error.
Zachary Carter's jsonlint repository began on GitHub on 2010-03-13 with a first commit titled "First". The README describes the project as a pure JavaScript version of the jsonlint.com service, with a command-line interface installable through npm and a CommonJS module interface.
The project kept a compact scope: parsing, validating, optional pretty printing, key sorting, in-place writes, and optional JSON Schema validation from the CLI. The README's MIT license notice names Zachary Carter and 2012, matching the era when Node.js command-line utilities were becoming common Homebrew and npm package-manager citizens.
JSONLint's durable adoption came from being easy to package and easy to compose in Unix-style workflows. The Homebrew formula kept the `jsonlint` executable available to macOS users, while the README continued to document npm global installation for Node users.
Typical usage is `jsonlint file.json` or piping JSON to stdin. Valid input is pretty-printed, invalid input reports a syntax error, and options cover indentation, compact error display, quiet validation, in-place overwrite, sorted keys, and schema validation.
JSONLint matters as a package-nerd artifact because it shows the small-tool phase of JSON tooling before larger Swiss-army commands dominated. It is not a data query language; it is the boring validator that fits cleanly in editor hooks, CI checks, and shell pipelines.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jsonlint | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/zaach/jsonlint
安装元数据
| 软件包键 | brew:jsonlint |
|---|---|
| 版本 | 1.6.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jsonlint |
| 主页 | https://github.com/zaach/jsonlint |
| 仓库 | https://github.com/zaach/jsonlint |
| 上游文档 | https://github.com/zaach/jsonlint#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/jsonlint/-/jsonlint-1.6.3.tgz |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jsonlint |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jsonlint 1.11.0-2
validating parser of JSON data structures
https://github.com/Seldaek/jsonlint
sudo apt install jsonlintjsonlint 1.10.2-1
validating parser of JSON data structures
https://github.com/Seldaek/jsonlint
sudo apt install jsonlint来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.