jarg
jo
jarg | jo | |
---|---|---|
1 | 15 | |
51 | 4,596 | |
- | - | |
10.0 | 4.3 | |
over 9 years ago | 6 months ago | |
Python | C | |
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.
jarg
-
Jo – a shell command to create JSON
We did look at `jo`, and also `jarg`[0], the W3C HTML JSON form syntax[1], and pretty much every other approach we could find. We had quite a few requirements that the syntax had to meet: be simple/flexible, easy to read/write, backward/forward compatible, and play well with the rest of the HTTPie request language.
The final syntax is heavily inspired by the HTML JSON forms one. But we made it stricter, added type safety, and some other features. It supports all the existing functionality like embedding raw JSON strings and JSON/text files by paths.
The final implementation[2] is completely custom. We’ve plans to ship it as a standalone tool as well, publish the test suite in a language-independent format and write a formal spec so that other tools can easily adopt it. This spec will eventually be a subset of one for the overall HTTPie request language, which is currently tied to our CLI implementation but we want to decouple it.
Happy to hear you like the desktop app!
[0] https://github.com/jdp/jarg
[1] https://www.w3.org/TR/html-json-forms/
[2] https://github.com/httpie/httpie/blob/master/httpie/cli/nest...
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?
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.
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
neovim - Vim-fork focused on extensibility and usability
Hoppscotch - Open source API development ecosystem.