• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

jpmens/jo: JSON output from a shell

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jpmens/jo

开源软件地址:

https://github.com/jpmens/jo

开源编程语言:

C 54.5%

开源软件介绍:

jo

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

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.3.tar.gz
cd jo-1.3
autoreconf -i
./configure
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 https://github.com/jpmens/jo.git
cd jo
autoreconf -i
./configure
make check
make install

Install

Homebrew

brew install jo

MacPorts

sudo port install jo

Ubuntu

apt-get install jo

Gentoo

emerge jo

Fedora

dnf install jo

Snap

Thanks to Roger Light, jo is available as a snap package. Use snap install jo from a Linux distro that supports snaps.

Windows

scoop install jo

Windows WSL2

As shown in #175 when using git on Windows WSL2 it should be necessary to disable automatic CRLF conversion in git or the tests will fail:

git config --local core.autocrlf false

AIX

jo builds and passes all tests on AIX 7.1 using the autoconf, automake, gcc, and pkg-config RPMs from IBM's AIX Toolbox for Open Source Software. The xlclang compiler from IBM's xlC/C++ suite for AIX will also build jo.

Others

See also

Credits

  • json.[ch] by 2011 Joseph A. Adams (joeyadams3.14159[at]gmail.com).



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap