construct-json
jo
construct-json | jo | |
---|---|---|
2 | 15 | |
0 | 4,596 | |
- | - | |
1.8 | 4.3 | |
over 2 years ago | 6 months ago | |
Shell | C | |
The Unlicense | 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.
construct-json
- construct-json: Easily construct JSON in Bash.
-
Jo – a shell command to create JSON
Ended up sniping myself . Made a fairly complete version of what I was imagining: https://github.com/itsjohncs/construct-json#readme
jo
-
jq 1.7 Released
In addition to my previous comment about jq-like tools, I want to share a couple other interesting tools, which I use alongside jq are jo [0] and jc [1].
[0]: https://github.com/jpmens/jo
[1]: https://github.com/kellyjonbrazil/jc
-
GNU Parallel, where have you been all my life?
That should recursively list directories, counting only the files within each, and output² jsonl that can be further mangled within the shell². You could just as easily populate an associative array for further work, or $whatever. Unlike bash, zsh has reasonable behaviour around quoting and whitespace too.
¹ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht...
² https://github.com/jpmens/jo
³ https://github.com/stedolan/jq
- Show HN: Jf – A jo alternative to format JSON objects in the commandline
-
Getting started with MSK Serverless and AWS Lambda using Go
I used a handy json utility called jo (sudo yum install jo)
- Create an array then save as json with jq
- shell command to create JSON: jo -p name=JP object=$(jo fruit=Orange point=$(jo x=10 y=20) number=17)
-
Using Vim As Your Shell Command-Line Scratch
APIs mostly use JSON as their payload. We can easily create them using jo. We can read the command output and put it to your current buffer. For example, we want to create a JSON object with a lower case uuid value for its id property, and a simple name.
-
A list of new(ish) command line tools – Julia Evans
I'm a big fan of jo[1] for making generating JSON from the shell not terrible.
[1] https://github.com/jpmens/jo
-
Looking for a CLI tool that can format a json file.
jo
- Jo – a shell command to create JSON (2016)
What are some alternatives?
Reject-POSUCKS-embrace-Nushell - Don't be scared by the edgy title, the article is more substantive, I promise.
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
dhall-lang - Maintainable configuration files
jello - CLI tool to filter JSON and JSON Lines data with Python syntax. (Similar to jq)
hevm - Dapp, Seth, Hevm, and more
dotfiles - My personal dotfiles
jq - Command-line JSON processor
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
jsonnet - Jsonnet - The data templating language
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Vim - The official Vim repository
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features