applications/text

jo - JSON output from a shell

Website: http://jpmens.net/2016/03/05/a-shell-command-to-create-json-jo/
License: GPLv2
Vendor:
Description:
jo creates a JSON string on stdout from words given it as arguments or read
from stdin. Without option -a it generates an object whereby each word is a
key=value (or key@value) pair with key being the JSON object element and value
its value. jo attempts to guess the type of value in order to create number
(using strtod(3)), string, or null values in JSON.

jo treats key@value specifically as boolean JSON elements: if the value begins
with T, t, or the numeric value is greater than zero, the result is true, else
false. A missing or empty value behind the colon results in a null JSON
element.

jo creates an array instead of an object when -a is specified.

Packages

jo-1.4-1.el8-x86_64 [30 KiB] Changelog by Philippe Kueck (2020-10-29):
- new upstream version
Package contents (click to display)
[f] /usr/share/man/man1/jo.1.gz
[f] /usr/share/licenses/jo/COPYING
[d] /usr/share/licenses/jo
[f] /usr/share/doc/jo/README
[f] /usr/share/doc/jo/ChangeLog
[f] /usr/share/doc/jo/AUTHORS
[d] /usr/share/doc/jo
[f] /usr/lib/.build-id/f4/6446365c7a20f874540cbeacfa52539d106de8
[d] /usr/lib/.build-id/f4
[d] /usr/lib/.build-id
[f] /usr/bin/jo

Listing created by Repoview-0.7.0