./textproc/jo, JSON output from a shell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2, Package name: jo-1.2, Maintainer: fred

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 14b85a76fb946b3527a74774cfb0e5c5003e6b21
RMD160: a7189566cdaba6c05e5f887f0e5e49c66258ec26
Filesize: 134.85 KB

Version history: (Expand)


CVS history: (Expand)


   2019-01-18 19:00:54 by Kamil Rytarowski | Files touched by this commit (2) | Package updated
Log message:
jo: Update to 1.2

Patch submitted by Frederic Cambus, who takes maintainership.

Upstream changelog
==================

2018-12-10 1.2

    NEW: Dockerfile (#76)
    UPD: add examples of empty arrays/objects to manual (#74)
    NEW: support -e to ignore empty stdin; contributed by Robi Karp
    NEW: object-path support (#57)
   2017-05-19 13:38:36 by Filip Hajny | Files touched by this commit (3) | Package updated
Log message:
Update textproc/jo to 1.1.

- NEW: type coercion (#55)
- FIX: quotes in quotes and double quotes at begin of string (#47)
- FIX: catch null value in assignmen (#46)
- NEW: support for key:=file.json for reading object values from a file (#43)
- NEW: PPA contributed by Ross Duggan in #32
- FIX: "null" is now handled like we handle "true" and \ 
"false"; disable with -B
- NEW: more tests in the test suite
   2017-01-27 12:33:11 by Filip Hajny | Files touched by this commit (1)
Log message:
This is the proper GITHUB_RELEASE, fixes fetching. No change to distfile hash.
   2017-01-04 13:44:59 by Filip Hajny | Files touched by this commit (3)
Log message:
Fix build on SunOS platforms.
   2016-09-11 17:59:29 by Kamil Rytarowski | Files touched by this commit (3)
Log message:
Reset maintainer to pkgsrc-users@NetBSD.org

Change requested by Frederic Cambus.
   2016-08-03 01:35:46 by Thomas Klausner | Files touched by this commit (1)
Log message:
Use github framework properly so PR 51386 can be avoided in the future.
   2016-07-26 19:29:22 by Kamil Rytarowski | Files touched by this commit (4)
Log message:
Import jo-1.0 as textproc/jo

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.

Originally packaged in pkgsrc-wip by Frederic Cambus.