OS Manuals

/usr/bin/jo

JSON output from a shell

From jo 1.9-r11 (os), captured 2026-11-05 by running jo --help (exit 255). permalink

/usr/bin/jo: invalid option -- '-'
Usage: jo [-a] [-B] [-D] [-d keydelim] [-p] [-e] [-n] [-o outfile] [-v] [-V] [-f file] [--] [-s|-n|-b] [word...]
	word is key=value or key@value
	-a creates an array of words
	-B disable boolean true/false/null detection
	-D deduplicate object keys
	-d key will be object path separated by keydelim
	-f load file as JSON object or array
	-p pretty-prints JSON on output
	-e quit if stdin is empty do not wait for input
	-s coerce type guessing to string
	-b coerce type guessing to bool
	-n coerce type guessing to number
	-o output to the given file
	-v show version
	-V show version in JSON
Options (8)
OptionDescriptionSource
-aInterpret the list of words as array values and produce an array instead of an object.man
-BBy default, jo interprets the strings “true” and “false” as boolean elements true and false respectively, and “null” as null.man
-DDeduplicate object keys.man
-eIgnore empty stdin (i.e. don’t produce a diagnostic error when stdin is empty)man
-nDo not add keys with empty values.man
-pPretty-print the JSON string on output instead of the terse one-line output it prints by default.man
-vShow version and exit.man
-VShow version as a JSON object and exit.man
Examples (27) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.