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.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/jo: Update to 1.3
Changelog:
- FIX: Escaped @ ("\@") is treated as "@" (#42, #103)
- NEW: Support reading JSON array elements (#91)
- UPD: Add home and removable-media interfaces to snap (#94)
- FIX: fix unlikely crash after malloc fail when base64 encoding.
- NEW: Support reading nested data from pipes (#82)
PR: 243419
Approved by: swills (maintainer)
textproc/jo: create port
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.
WWW: https://github.com/jpmens/jo