JSON output from a shell
C Shell Roff Makefile M4
Clone or download
jpmens support -e option
  contributed by Robi Karp
Latest commit 3566ed5 Mar 21, 2018



jo logo

This is jo, a small utility to create JSON objects

$ jo -p name=jo n=17 parser=false
    "name": "jo",
    "n": 17,
    "parser": false

or arrays

$ seq 1 10 | jo -a

It has a manual, and you can read why I wrote jo.

Build from Release tarball

To build from a release you will need a C compiler to install from a source tarball which you download from the Releases page.

tar xvzf jo-1.0.tar.gz
cd jo-1.0
make check
make install


Build from Github

Build Status

To install from the repository, you will need a C compiler as well as a relatively recent version of automake and autoconf.

git clone git://github.com/jpmens/jo.git
cd jo
autoreconf -i
make check
make install


brew install jo


To install on Ubuntu, use this PPA:

apt-add-repository ppa:duggan/jo --yes
apt-get update -q
apt-get install jo