jo
dasel
jo | dasel | |
---|---|---|
15 | 44 | |
4,588 | 4,877 | |
- | - | |
4.3 | 8.1 | |
5 months ago | 18 days ago | |
C | Go | |
GNU General Public License v3.0 or later | MIT License |
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.
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)
dasel
- jq 1.7 Released
-
Dasel - jq for yaml json and toml
wget https://github.com/TomWright/dasel/releases/download/v2.1.2/dasel_linux_amd64 install -o root -g root -m 0755 dasel_linux_amd64 /usr/bin/dasel
-
Why a world needs an UNIX-style image collection manager?
https://github.com/TomWright/dasel handles JSON, TOML, YAML, XML and CSV
-
Tool to interact with CSV
dasel - Comparable to jq / yq, but supports JSON, YAML, TOML, XML and CSV with zero runtime dependencies.
-
Yq is a portable yq: command-line YAML, JSON, XML, CSV and properties processor
Another tool in this space is Dasel[1], which can handle querying/modifying JSON, YAML, TOML, XML and CSV files.
[1] https://github.com/TomWright/dasel
- Jc – JSONifies the output of many CLI tools
-
What are your coolest tools for one-liners ?
There also is dasel which combine jq, yq as well handling TOML, XML and CSV
- Run SQL on CSV, Parquet, JSON, Arrow, Unix Pipes and Google Sheet
-
What is the coolest Go open source projects you have seen?
dasel # most common human readable configs(json, yaml, xml...)
-
How to grep a specific field from curl output
I have recently switched to Dasel (https://github.com/TomWright/dasel ) due to its ability to work not only with JSON but also with other formats.
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.
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
jello - CLI tool to filter JSON and JSON Lines data with Python syntax. (Similar to jq)
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
hevm - Dapp, Seth, Hevm, and more
miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
dotfiles - My personal dotfiles
kubectl-jq - Kubectl plugin that works like "kubectl get" but runs everything through a JQ program you provide
jq - Command-line JSON processor
Go Metrics - Go port of Coda Hale's Metrics library