macOS
brew install jshonlocal Homebrew formula metadata
sudo port install jshonMacPorts ports tree · textproc/jshon/Portfile · 来源: api.github.com
安装
brew install jshonlocal Homebrew formula metadata
sudo port install jshonMacPorts ports tree · textproc/jshon/Portfile · 来源: api.github.com
sudo apk add jshonAlpine Linux edge package indexes · jshon · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#jshonnixpkgs package indexes · pkgs/by-name/js/jshon/package.nix · 来源: api.github.com
sudo pacman -S jshonArch Linux sync databases · jshon · 来源: geo.mirror.pkgbuild.com
sudo zypper install jshonopenSUSE Tumbleweed package metadata · jshon · 来源: download.opensuse.org
概览
Parse, read, and create JSON from the shell
历史
jshon is a small Unix command-line JSON tool aimed at shell scripts. Its manual says it parses, reads, and creates JSON while replacing fragile `grep`/`sed`/`awk` parsers and heavier one-line Perl or Python snippets.
The public tag series uses date-stamped versions from 20110215 through 20131105, matching the lightweight release style of many small C utilities. The tool's model is stack-based: it reads JSON from stdin or a file, performs chained operations, and prints JSON or plain-text results.
jshon reached several Unix package systems, including Homebrew and Linux distribution packages, because it solved a common pre-`jq` shell problem: safely extracting JSON values without embedding a full scripting language in a pipeline.
Users typically pipe JSON into `jshon`, chain extraction and conversion flags, and combine its line-oriented output with ordinary shell tools. The `-F` and `-I` options also support file input and in-place edits for small JSON changes.
jshon is package-nerd interesting because it belongs to the early 2010s wave of tiny JSON-for-shell utilities. Its interface is less famous than `jq`, but it captures a design point where JSON manipulation was deliberately shaped to fit classic Unix pipelines.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jshon | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/keenerd/jshon
安装元数据
| 软件包键 | brew:jshon |
|---|---|
| 版本 | 20131105 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jshon |
| 主页 | https://github.com/keenerd/jshon |
| 仓库 | https://github.com/keenerd/jshon |
| 上游文档 | https://github.com/keenerd/jshon/blob/master/jshon.1 |
| 许可证 | MIT |
| 源码归档 | https://github.com/keenerd/jshon/archive/refs/tags/20131105.tar.gz |
| 依赖 | jansson |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jshon |
| 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 软件包链接分开显示。
jshon 20180209.d919aea-1
Command line tool to parse, read and create JSON
https://github.com/keenerd/jshon
sudo apt install jshonjshon
nix profile install nixpkgs#jshonjshon 20131010-3build1
Command line tool to parse, read and create JSON
sudo apt install jshonjshon 20131105-r2
JSON parser designed for maximum convenience within the shell
sudo apk add jshonjshon-doc 20131105-r2
JSON parser designed for maximum convenience within the shell (documentation)
sudo apk add jshon-docjshon 20131105-6
A json parser for the shell
https://github.com/keenerd/jshon
sudo pacman -S jshonjshon 20131105-2.25
A JSON parser for the shell
sudo zypper install jshonjshon
sudo port install jshon来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.