BSD Ports

textproc/jo 1.6_1 DragonFly

Small utility to create JSON objects

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
textproc
Package size
19.4 KiB, 37.5 KiB installed

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

SystemPortVersion
DragonFlytextproc/jo1.6_1
FreeBSDtextproc/jo1.9
OpenBSDtextproc/jo1.9
NetBSDtextproc/jo1.9nb1
HardenedBSDtextproc/jo1.9
GhostBSDtextproc/jo1.9

Install

Binary package:

pkg install jo

From DPorts:

cd /usr/dports/textproc/jo && make install clean

Dependencies