[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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


Reply to: