[OpenWrt-Devel] /usr/share/libubox/jshn.sh and piping json text to json_load

Michael Jones mike at meshplusplus.com
Sat Jun 13 17:53:17 EDT 2020

Hi List,

I'm looking to load some json text that's being piped through grep / sed /
awk into the json handling capabilities provided by

Looking here:

I don't see any kind of handling of stdin. So I'm guessing that piping data
into the shell json handling code isn't an expected use case.

Does anyone have any suggestions beyond the obvious solution of loading the
data into a shell variable first?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200613/9f72a4ba/attachment.htm>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list