Port details |
- jshon JSON parser for the shell
- 20180209 textproc
=1 20170302.1Version of this port present on the latest quarterly branch. - Maintainer: 0mp@FreeBSD.org
 - Port Added: 2013-01-23 13:53:55
- Last Update: 2021-10-04 18:39:30
- Commit Hash: cdc9311
- People watching this port, also watch:: python, unoconv, py38-pycparser, sysinfo
- License: MIT
- Description:
- Jshon parses, reads and creates JSON. It is designed to be as usable as
possible from within the shell and replaces fragile ad hoc parsers made
from grep/sed/awk as well as heavyweight one-line parsers made from
perl/python.
Jshon loads JSON text from stdin, performs actions, then displays the last
action on stdout. Some of the options output JSON, others output plain text
meta information. Because Bash has very poor nested data structures, Jshon does
not try to return a native bash data structure as a typical library would.
Instead, Jshon provides a history stack containing all the manipulations.
The big change in the latest release is switching the everything from
pass-by-value to pass-by-reference. In a typical use case (processing AUR
search results for 'python') by-ref is twice as fast and uses one sixth the
memory. If you are editing JSON, by-ref also makes your life a lot easier as
modifications do not need to be manually inserted through the entire stack.
WWW: http://kmkeen.com/jshon/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/textproc/jshon/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/jshon
- pkg install jshon
- PKGNAME: jshon
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1633351648
SHA256 (keenerd-jshon-20180209-d919aea_GH0.tar.gz) = a14521b9a0bf06e48949d6bd233403b754a8ac47b08f37244e589c34d8a4db0f
SIZE (keenerd-jshon-20180209-d919aea_GH0.tar.gz) = 14126
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- Library dependencies:
-
- libjansson.so : devel/jansson
- There are no ports dependent upon this port
- Configuration Options:
- ===> The following configuration options are available for jshon-20180209:
ZSH=on: Install programmable completions for zsh
===> Use 'make config' to modify these settings
- Options name:
- textproc_jshon
- USES:
- gmake localbase:ldflags
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
04 Oct 2021 18:39:30 20180209
|
Mateusz Piotrowski (0mp)  |
textproc/jshon: Match version with MacPorts
While here, clean up the makefile a bit. |
07 Apr 2021 08:09:01 20170302.1
|
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
06 Apr 2021 14:31:07 20170302.1
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
03 Dec 2018 17:38:16
20170302.1
|
0mp  |
textproc/jshon: Update to 20170302.1
- Take over MAINTAINER'ship.
- Sort variables.
- Remove the COMMIT_HASH variable. Use only GH_TAGNAME instead.
- Add ZSH to OPTIONS_DEFAULT as suggested by the handbook.
- Do not strip in post-install since INSTALL_PROGRAM is already used in
do-install.
- Improve pkg-descr.
Reviewed by: krion
Approved by: krion (mentor)
Differential Revision: https://reviews.freebsd.org/D18422 |
28 Oct 2017 05:56:55
20160111.2
|
tcberner  |
Update textproc/jshon to 20160111.2
PR: 223280
Submitted by: kalten@gmx.at |
01 Apr 2016 14:25:18
20131105
|
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
15 Dec 2015 14:49:14
20131105
|
miwi  |
- Update to 20131105
PR: 205224
Submitted by: Ports Fury
Approved by: mat (mentor)
Differential Revision: D4583 |
27 Jul 2015 19:01:11
20121210_3
|
bdrewery  |
Drop maintainership |
20 Mar 2015 20:07:51
20121210_3
|
bdrewery  |
For the new USE_GITHUB with only GH_TAGNAME set default DISTNAME to
include GH_PROJECT/GH_ACCOUNT/GH_TAGNAME. This prevents the distfile
having the same name despite changing one of these values and causing
a bad checksum.
Differential Revision: https://reviews.freebsd.org/D2103
Reviewed by: mat
With hat: bdrewery |
20 Mar 2015 01:42:37
20121210_3
|
bdrewery  |
Convert my ports to the new USE_GITHUB |
03 Aug 2014 14:15:09
20121210_3
|
olgeni  |
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories T-V.
CR: D509
Approved by: portmgr (antoine) |
23 Jun 2014 13:20:54
20121210_3
|
amdmi3  |
- Switch devel/jansson to libtool, drop .la files
- Bump dependent ports as .so version has changed
Approved by: portmgr blanket |
01 May 2014 01:31:06
20121210_2
|
vanilla  |
1: Upgrade jansson to 2.6.
2: bump revision due shared library version. |
16 Dec 2013 20:29:03
20121210_1
|
bdrewery  |
Take maintainership |
16 Dec 2013 17:26:49
20121210_1
|
bapt  |
Drop maintainership |
26 Sep 2013 11:37:25
20121210_1
|
vanilla  |
bump version due jansson shlib change. |
23 Sep 2013 10:11:13
20121210
|
bapt  |
Unmute installation commands
Reported by: danfe |
23 Sep 2013 06:19:19
20121210
|
bapt  |
Use stage |
20 Sep 2013 23:17:32
20121210
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
05 Jul 2013 13:44:31
20121210
|
bapt  |
Convert to USES=gmake |
23 Jan 2013 13:53:45
20121210
|
bapt  |
jshon parses, reads and creates JSON. It is designed to be as usable as possible
from within the shell and replaces fragile adhoc parsers made from grep/sed/awk
as well as heavyweight one-line parsers made from perl/python.
WWW: http://kmkeen.com/jshon/ |