macOS
brew install jshonlocal Homebrew formula metadata
sudo port install jshonMacPorts ports tree · textproc/jshon/Portfile · source: api.github.com
brew
Parse, read, and create JSON from the shell. Version 20131105 via Homebrew; verified from local package data.
install
brew install jshonlocal Homebrew formula metadata
sudo port install jshonMacPorts ports tree · textproc/jshon/Portfile · source: api.github.com
sudo apk add jshonAlpine Linux edge package indexes · jshon · source: dl-cdn.alpinelinux.org
sudo apt install jshonDebian stable package indexes · jshon · source: deb.debian.org
nix profile install nixpkgs#jshonnixpkgs package indexes · pkgs/by-name/js/jshon/package.nix · source: api.github.com
sudo pacman -S jshonArch Linux sync databases · jshon · source: geo.mirror.pkgbuild.com
sudo zypper install jshonopenSUSE Tumbleweed package metadata · jshon · source: download.opensuse.org
overview
Parse, read, and create JSON from the shell
history
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jshon | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/keenerd/jshon
install metadata
| Package key | brew:jshon |
|---|---|
| Version | 20131105 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jshon |
| Homepage | https://github.com/keenerd/jshon |
| Repository | https://github.com/keenerd/jshon |
| Upstream docs | https://github.com/keenerd/jshon/blob/master/jshon.1 |
| License | MIT |
| Source archive | https://github.com/keenerd/jshon/archive/refs/tags/20131105.tar.gz |
| Dependencies | jansson |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 jshonsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.