神刀安全网

Jo – JSON output from a shell

jo

Jo - JSON output from a shell

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 [1,2,3,4,5,6,7,8,9,10]

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

Build from Release tarball

To build froma release you will need a C compiler to install from a source tarball.

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

Jo - JSON output from a shell

Build from Github

Jo - JSON output from a shell

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 ./configure make check make install

Homebrew

To install with Homebrew, usethe tap.

brew tap caius/jo brew install jo

Others

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Jo – JSON output from a shell

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮