Jb / json.bash – Command-line tool (and bash library) that creates JSON
jb is a UNIX tool that creates JSON, for shell scripts or interactive use. Its "one thing" is to get shell-native data (environment variables, files, program output) to somewhere else, using JSON encapsulate it robustly. I wrote this because I wanted a robust and ergonomic way to create ad-hoc JSON data from the command line and scripts. I wanted errors to not pass silently, not coerce data types, not put secrets into argv. I wanted to leverage shell features/patterns like process substitution, environment variables, reading/streaming from files and null-terminated data. If you…
Jb / json.bash – Command-line tool (and bash library) that creates JSON launched on July 3, 2024 with 183 votes, #308 of 5,184 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
jb is a command-line tool and bash library that converts shell-native data—such as environment variables, files, and program output—into JSON format. Designed for both interactive use and scripts, it prioritizes robustness by treating values as strings by default, requiring explicit type annotations to parse other types, and avoiding silent errors or data coercion. It supports shell patterns like process substitution and null-terminated data, making it useful for developers who need safe, ergonomic JSON creation without exposing secrets through command arguments.
written from the facts on this page · September 2026
From the sources
Command-line tool and bash library that creates JSON - h4l/json.bash
In the maker’s words, at launch
jb is a UNIX tool that creates JSON, for shell scripts or interactive use. Its "one thing" is to get shell-native data (environment variables, files, program output) to somewhere else, using JSON encapsulate it robustly. I wrote this because I wanted a robust and ergonomic way to create ad-hoc JSON data from the…
Does a similar job
all alternatives →
a small weekendish project - JSON Blob2013 · jsonblob.com · ▲106
Jqview, a simple native GUI for inspecting JSON with jq2020 · github.com · ▲208simplest possible native GUI for inspecting JSON objects with jq - fiatjaf/jqview
Jless, a command-line JSON viewer2022 · pauljuliusmartinez.github.io · ▲344Hey, Hacker News! Today I'm proud to release jless, a command-line JSON viewer. jless provides a JSON viewing experience similar to what you see in a browser's network tab in the developer console, but from the comfort of your terminal, with a whole suite of vim-inspired key bindings to easily manipulate your view of the data and full-text regex search. I'm sure many of you have some piped together some combination of cat, jq and less before; hopefully jless can replace that usage (hence the name). It supports newline delimited JSON too, so it can handle any output from jq. I built jless to…
Json parser in 20 lines of bash2015 · github.com · ▲13micro json parser. Contribute to izabera/j development by creating an account on GitHub.
Command-line JSON processing tool2018 · github.com · ▲32Terminal JSON viewer & processor. Contribute to antonmedv/fx development by creating an account on GitHub.

More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, July 2024
the whole month →




Many years ago, I made VJ softwares (to mix live visuals in clubs) for unexpected platforms like the Game Boy Advance, the Playstation 2 and the Raspberry Pi. This year, I’m back with a new web-app: Pikimov. Inspired by Photopea (a free Photoshop clone), I created this web-based motion design & video editor as an alternative to After Effects, to fill empty void. It's free, without signup, without cloud uploads (your files stay on your machine), and your projects are not used for AI models training.
AI · 2024 · pikimov.com
