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).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of json

json

Photo of Jb / json.bash

Jb / json.bash

Photo of bash library

bash library

Related news:

News photo

Parsing JSON Is a Minefield (2018)

News photo

LSON: JSON with binary in 260 lines of public domain Lua

News photo

Using Your Vector Database as a JSON (Or Relational) Datastore