json.bash
JSONPath.sh
json.bash | JSONPath.sh | |
---|---|---|
3 | 1 | |
446 | 57 | |
0.4% | - | |
6.4 | 6.7 | |
4 months ago | 5 months ago | |
Shell | Shell | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json.bash
-
Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON
If it helps, there's a little example of 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 function, the encoded JSON goes into $varname variable. This pattern avoids the overhead of forking processes (e.g. subshells) when generating JSON.
Otherwise you can use the more normal approach of jb writing to stdout, and capturing the output stream.
JSONPath.sh
-
Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON
Appreciated, Slightly related: https://github.com/bashtools/JSONPath.sh
What are some alternatives?
welcome.sh - A nice welcome script for Bash and Zsh
discord.sh - Write-only command-line Discord webhooks integration written in 100% Bash script
asciinema-rec_script - Record 💭 comments and ❯ commands from from shell scripts in addition to their output.
poorjson.sh - A tiny and POSIX Shell compatible (portable) JSON parser and query tool, written in pure POSIX Shell, within 60 lines of codes, only requires `sed`. Compatible with bash, dash, zsh, busybox and any other POSIX shell.
jsonpath-rust - Support for json-path in Rust