Get the latest tech news
Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON
Command-line tool and bash library that creates JSON - h4l/json.bash
Package-manager files are available for any package manager supported by fpm(at least apk, deb, freebsd, rpm, sh (self extracting), tar, possibly more). File references are more powerful than they might first appear, as they enable all sorts of dynamic content to be pulled into JSON data, including nested jb calls. The reason for both is that:json depends on grep (with PCRE) being present, so:raw can be used in situations where only bash is available, and validation isn't necessary (e.g. when passing the output of one json.bash call into another).
Or read this on Hacker News