Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102859

Bug#1010874: ITP: jshn -- JSON parsing and generation library in for shell scripts

From Sergey Ponomarev <stokito@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010874: ITP: jshn -- JSON parsing and generation library in for shell scripts
Date 2022-05-12 06:30 +0200
Message-ID <Em8CB-eTZ6-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: wnpp
Severity: wishlist

* Package name    : jshn
  Version         : 1.0.0
* URL             : https://openwrt.org/docs/guide-developer/jshn
* License         : ISC
  Programming Lang: C, Shell
  Description     : jshn (JSON SHell Notation), a shell library and
utility for parsing and generating JSON.


OpenWrt actively uses shell scripts and JSON for configs and API. But
shell scripts don't have built-in functions to work with JSON or other
hierarchical structures so  provide a shell library jshn.sh that you
can import and use.

The tool is very handy and useful and I see that Debian lacks it out
of the box. In fact it can replace jq and many /sed/ magic in many
places.
I already created a fork that you can try yourself
https://github.com/stokito/jshn-jsonc

But I'm going to talk with OpenWrt devs to split the tool from the
libubox package and make compilation easy for Debian.

Regards,
Sergey Ponomarev






-- 
Sergey Ponomarev,
stokito.com

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1010874: ITP: jshn -- JSON parsing and generation library in for shell scripts Sergey Ponomarev <stokito@gmail.com> - 2022-05-12 06:30 +0200

csiph-web