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

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
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.

Report a wrong fact or a dead link on this listing