textproc/jo 1.9 OpenBSD
JSON output from a shell
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- textproc
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/jo | 1.9 |
| FreeBSD | textproc/jo | 1.9 |
| NetBSD | textproc/jo | 1.9nb1 |
| DragonFly | textproc/jo | 1.6_1 |
Install
Binary package:
pkg_add jo
From the ports tree:
cd /usr/ports/textproc/jo && make install
Dependencies
No port depends on this one.