# 使用 Homebrew 安装 jsonpp

查看 jsonpp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jsonpp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jsonpp
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jsonpp
- **软件包管理器:** Homebrew
- **版本:** 1.3.0
- **来源摘要:** Command-line JSON pretty-printer
- **主页:** <https://jmhodges.github.io/jsonpp/>
- **仓库:** <https://github.com/jmhodges/jsonpp>
- **最后更新:** 2026-07-25T20:58:05-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jsonpp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.3.0
## 项目历史与用法

jsonpp is a fast command-line JSON pretty-printer written in Go. It is intentionally small: read JSON from a web response or file, format it for humans, and exit.

### 项目历史

John Hodges' jsonpp repository began with a 2011-08-22 commit titled "a working json pretty printer". The README says jsonpp was created after a friend working against large JSON APIs became tired of slow tooling, and that it later proved useful for parsing JSON log files.

The project stayed narrowly focused on pretty printing. Its README documents a file and pipe workflow, an option for formatting previously pretty-printed JSON, and an environment variable named `JSONPP_INDENT` for changing indentation.

### 采用历史

jsonpp's adoption is modest but durable enough for a Homebrew formula and tagged GitHub releases. The README documents installation through `go get`, Homebrew, or copying a binary into `PATH`.

### 使用方式

The canonical examples are piping a web service response through `jsonpp`, formatting a JSON file from disk, and using `-s` when the input stream is one already formatted JSON object.

### 为什么软件包爱好者会关心

jsonpp is package-nerd useful because it is a tiny Go binary that does one common terminal job with minimal runtime baggage. It belongs to the family of formatter commands people install because they want fast readable output, not a full JSON processing language.

### 时间线

- 2011-08-22: First public GitHub commit.
- 2013-07-03: v1.2.0 release published.
- 2016-10-13: v1.3.0 release published.

### Related projects

- jsonpp sits near jsonlint, jq, Python's `json.tool`, and other command-line JSON formatting tools, but keeps its own role limited to pretty printing.

### 来源

- <https://api.github.com/repos/jmhodges/jsonpp>
- <https://formulae.brew.sh/formula/jsonpp>
- <https://github.com/jmhodges/jsonpp>
- <https://github.com/jmhodges/jsonpp/commit/1564f8fd3a29fca50e735e78aa3298ce1bc9a972>
- <https://github.com/jmhodges/jsonpp/releases/tag/1.3.0>
- <https://github.com/jmhodges/jsonpp/releases/tag/v1.2.0>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/jsonpp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jsonpp.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
