[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6581":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},6581,"jo","jpmens\u002Fjo","jpmens","JSON output from a shell","http:\u002F\u002Fjpmens.net\u002F2016\u002F03\u002F05\u002Fa-shell-command-to-create-json-jo\u002F",null,"C",4868,160,51,6,0,4,28.62,"Other",false,"master",true,[],"2026-06-12 02:01:26","# jo\n\n![jo logo](tests\u002Fjo-logo.png)\n\nThis is `jo`, a small utility to create JSON objects\n\n```bash\n$ jo -p name=jo n=17 parser=false\n{\n    \"name\": \"jo\",\n    \"n\": 17,\n    \"parser\": false\n}\n```\n\nor arrays\n\n```bash\n$ seq 1 10 | jo -a\n[1,2,3,4,5,6,7,8,9,10]\n```\n\nIt has a [manual](jo.md), and you can read [why I wrote jo](http:\u002F\u002Fjpmens.net\u002F2016\u002F03\u002F05\u002Fa-shell-command-to-create-json-jo\u002F).\n\n## Build from Release tarball\n\nTo build from [a release](https:\u002F\u002Fgithub.com\u002Fjpmens\u002Fjo\u002Freleases) you will need a C compiler to install from a source tarball which you download from the [Releases page](https:\u002F\u002Fgithub.com\u002Fjpmens\u002Fjo\u002Freleases).\n\n```bash\ntar xvzf jo-1.3.tar.gz\ncd jo-1.3\nautoreconf -i\n.\u002Fconfigure\nmake check\nmake install\n```\n\n\n## Build from Github\n\n[![Build Status](https:\u002F\u002Fapi.travis-ci.com\u002Fjpmens\u002Fjo.svg?branch=master)](https:\u002F\u002Ftravis-ci.com\u002Fgithub\u002Fjpmens\u002Fjo)\n\nTo install from the repository, you will need a C compiler as well as a relatively recent version of _automake_ and _autoconf_.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fjpmens\u002Fjo.git\ncd jo\nautoreconf -i\n.\u002Fconfigure\nmake check\nmake install\n```\n\n## Install\n\n### Homebrew\n\n```bash\nbrew install jo\n```\n\n### MacPorts\n\n```bash\nsudo port install jo\n```\n\n### Ubuntu\n\n```\napt-get install jo\n```\n\n### Gentoo\n\n```\nemerge jo\n```\n\n### Fedora\n\n```\ndnf install jo\n```\n\n### Snap\n\nThanks to [Roger Light](https:\u002F\u002Ftwitter.com\u002Fralight\u002Fstatus\u002F1166023769623867398), _jo_ is available as a [snap package](https:\u002F\u002Fsnapcraft.io\u002Fjo). Use `snap install jo` from a Linux distro that supports snaps.\n\n### Windows\n```cmd\nscoop install jo\n```\n\n### Windows WSL2\n\nAs shown in [#175](https:\u002F\u002Fgithub.com\u002Fjpmens\u002Fjo\u002Fissues\u002F175) when using _git_ on Windows WSL2 it should be necessary to disable automatic CRLF conversion in _git_ or the tests will fail:\n\n```cmd\ngit config --local core.autocrlf false\n```\n\n### AIX\n\n_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](https:\u002F\u002Fwww.ibm.com\u002Fsupport\u002Fpages\u002Fnode\u002F883796).  The _xlclang_ compiler from IBM's xlC\u002FC++ suite for AIX will also build _jo_.\n\n## Others\n\n* [voidlinux](https:\u002F\u002Fgithub.com\u002Fvoidlinux\u002Fvoid-packages\u002Ftree\u002Fmaster\u002Fsrcpkgs\u002Fjo)\n* [ArchLinux](https:\u002F\u002Farchlinux.org\u002Fpackages\u002Fextra\u002Fx86_64\u002Fjo\u002F)\n* [OpenBSD](http:\u002F\u002Fopenports.se\u002Ftextproc\u002Fjo)\n* [FreeBSD](https:\u002F\u002Fwww.freshports.org\u002Ftextproc\u002Fjo)\n* [Guix](https:\u002F\u002Fpackages.guix.gnu.org\u002Fpackages\u002Fjo\u002F)\n* [pkgsrc](http:\u002F\u002Fpkgsrc.se\u002Ftextproc\u002Fjo)\n* [repology.org](https:\u002F\u002Frepology.org\u002Fmetapackage\u002Fjo\u002Fversions)\n* [Docker](https:\u002F\u002Fhub.docker.com\u002Frepository\u002Fdocker\u002Fjpmens\u002Fjo)\n\n## See also\n\n* [gjo](https:\u002F\u002Fgithub.com\u002Fskanehira\u002Fgjo)\n* [rjo](https:\u002F\u002Fgithub.com\u002Fdskkato\u002Frjo)\n* [jjo](https:\u002F\u002Fgithub.com\u002Fmemoryhole\u002Fjjo)\n* [jf](https:\u002F\u002Fgithub.com\u002Fsayanarijit\u002Fjf)\n* [gojo](https:\u002F\u002Fgithub.com\u002Fitchyny\u002Fgojo)\n\n## Credits\n\n* `json.[ch]` by 2011 Joseph A. Adams (joeyadams3.14159[at]gmail.com).\n","jo 是一个用于从 shell 生成 JSON 对象或数组的小型实用工具。它允许用户通过简单的命令行参数创建复杂的 JSON 结构，支持基本数据类型如字符串、整数和布尔值，并且可以轻松地将标准输入转换为 JSON 数组。该工具采用 C 语言编写，具有高性能和低资源占用的特点。jo 非常适合需要在脚本中快速生成 JSON 数据的场景，例如自动化测试、配置文件生成或是与 RESTful API 的交互等。其跨平台特性也使得 jo 成为 Linux、macOS 以及 Windows 等多种操作系统环境下处理 JSON 数据的理想选择。",2,"2026-06-11 03:07:45","top_language"]