jo
A small command-line utility that builds JSON objects and arrays from shell arguments.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get jo
Package managers
- Homebrew
brew install jo
About jo
jo creates JSON from the shell without hand-writing quotes and braces. You pass key=value pairs and it prints a JSON object, detecting numbers and booleans automatically; it can also turn lines of piped input into a JSON array, and pretty-print output with -p.
It is useful in shell scripts that need to send JSON to an API or feed it to jq, and it ships with bash and zsh completions and a man page.
Strengths
- Builds valid JSON without manual quoting
- Detects numbers and booleans automatically
- Works well in pipelines with jq
- Shell completions for bash and zsh
Limitations
- Only creates JSON, does not query or transform it
- Development is infrequent
Details
- Pricing
- FreeFree and open source.
- License
- GPL-2.0
- Developer
- Jan-Piet Mens
- Platforms
- macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Shell scripts that need to produce JSON quickly
- Categories
- CLI tools, Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Similar software
Related functionality, not necessarily a direct replacement.
jq
The command-line JSON processor: slice, filter, map and transform structured data the way sed and awk handle text.
gron
A command-line tool that flattens JSON into discrete assignments so it can be searched with grep.
jc
Convert command output into JSON for easier scripting.
fx
Inspect JSON interactively from your terminal.
Dasel
Query and update structured files through a consistent command syntax.
yq
Command-line processor for YAML, JSON, XML, CSV and TOML.