macOS
brew install jolocal Homebrew formula metadata
sudo port install joMacPorts ports tree · textproc/jo/Portfile · 来源: api.github.com
安装
brew install jolocal Homebrew formula metadata
sudo port install joMacPorts ports tree · textproc/jo/Portfile · 来源: api.github.com
sudo apk add joAlpine Linux edge package indexes · jo · 来源: dl-cdn.alpinelinux.org
sudo dnf install joFedora Rawhide package metadata · jo · 来源: dl.fedoraproject.org
nix profile install nixpkgs#jonixpkgs package indexes · pkgs/by-name/jo/jo/package.nix · 来源: api.github.com
sudo pacman -S joArch Linux sync databases · jo · 来源: geo.mirror.pkgbuild.com
sudo zypper install joopenSUSE Tumbleweed package metadata · jo · 来源: download.opensuse.org
scoop install main/joScoop official bucket manifest trees · bucket/jo.json · 来源: api.github.com
winget install --id jpmens.jo -eWindows Package Manager source index · jpmens.jo · 来源: cdn.winget.microsoft.com
概览
JSON output from a shell
历史
jo is a small C command-line utility for producing JSON from shell arguments or standard input. Jan-Piet Mens introduced it in March 2016 as a response to the awkwardness of hand-writing JSON in shell scripts, and the repository describes it plainly as JSON output from a shell.
The GitHub repository was created on March 4, 2016, and Jan-Piet Mens published a companion article on March 5 explaining the motivation: producing valid JSON from shell scripts becomes hard once quoting, variables, and embedded strings enter the picture. The early 0.x releases followed within days, and 1.0 arrived on March 11, 2016.
The changelog shows a project that grew carefully around shell ergonomics: nested elements, pretty printing, booleans, file inclusion, OpenBSD pledge support, type coercion, object paths, Docker support, array reading, zsh completion, Meson support, and fixes for Windows and long-line stdin handling.
jo spread through package managers because it solves a narrow shell-scripting pain point without pulling in a large runtime. Its README lists Homebrew, MacPorts, Ubuntu, Gentoo, Fedora, Snap, Scoop, AIX, Void Linux, Arch, OpenBSD, FreeBSD, Guix, pkgsrc, Repology, and Docker as distribution routes or related package entries.
Users call jo with key=value words to emit JSON objects, use -a for arrays, -p for pretty output, and type prefixes or special value forms when they need stronger control over numbers, booleans, nulls, file contents, or nested data. It is commonly paired with shell scripts, HTTP clients, monitoring hooks, and other command-line pipelines.
jo is package-nerd significant because it is the Unix philosophy version of JSON generation: small, composable, scriptable, packaged almost everywhere, and complementary to jq. It sits in the gap between fragile echo/printf JSON and starting a Python, Ruby, Node, or jq program just to build an object.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jo |
|---|---|
| 版本 | 1.9 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/jpmens/jo |
| 仓库 | https://github.com/jpmens/jo |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jo 1.9-2
command-line processor to output JSON from a shell
sudo apt install jojo
nix profile install nixpkgs#jojo 1.9-1
command-line processor to output JSON from a shell
sudo apt install jojo 1.9-r2
JSON output from a shell
sudo apk add jojo-bash-completion 1.9-r2
Bash completions for jo
sudo apk add jo-bash-completionjo-doc 1.9-r2
JSON output from a shell (documentation)
sudo apk add jo-docjo-zsh-completion 1.9-r2
Zsh completions for jo
sudo apk add jo-zsh-completionjo 1.9-21.fc45
Small utility to create JSON objects
sudo dnf install jojo 1.9-3
JSON output from a shell
sudo pacman -S jojo 1.9-1.12
JSON output from a shell
sudo zypper install jojo-bash-completion 1.9-1.12
Bash Completion for jo
sudo zypper install jo-bash-completionjo-zsh-completion 1.9-1.12
ZSH completion for jo
sudo zypper install jo-zsh-completionjo
sudo port install jomain/jo
scoop install main/jojpmens.jo
winget install --id jpmens.jo -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.