h4l/json.bash
View on GitHub ↗ ★ 461 Shell
Command-line tool and bash library that creates JSON
4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2024-07-03 · latest 2024-07-03
20082026
-
…as a fellow bash freak I am studying this code, and even I am learning some new techniques. https://github.com/h4l/json.bash/blob/main/json.bash You've boiled it down to a set of very elegant constructs. Respect. Thank you @h4l, this is…
comment by metadat · 2024-07-03 · in Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON -
…using the bash API with bash variables/arrays, should give you an idea of how it could be to use: https://github.com/h4l/json.bash/blob/main/examples/notify.s... This example uses the pattern of setting an out=varname when calling a json…
comment by h4l · 2024-07-03 · in Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON -
…pipe silently being read as an empty file. I've got a page explaining this with some examples here: https://github.com/h4l/json.bash/blob/main/docs/stream-poiso... I can imagine using control characters in a text stream being rather…
comment by h4l · 2024-07-03 · in Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON