jq
jello
jq | jello | |
---|---|---|
306 | 31 | |
25,063 | 468 | |
- | - | |
0.0 | 5.8 | |
about 1 year ago | 6 months ago | |
C | Python | |
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.
jq
-
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
- How do i edit reputation?
-
Jj: JSON Stream Editor
What I miss from jq and what is implemented but unreleased is platform independent line delimiters.
jq on Windows produces \r\n terminated lines which can be annoying when used with Cygwin / MSYS2 / WSL. The '--binary' option to not convert line delimiters is one of those pending improvements.
https://github.com/stedolan/jq/commit/0dab2b18d73e561f511801...
-
Building and deploying a web API powered by ChatGPT
If you have jq installed you can use it to make the output look nicer.
-
Search in your Jupyter notebooks from the CLI, fast.
It requires jq for JSON processing and GNU parallel for concurrent searches in the notebooks.
- Check the jq manual!
- mkv vs mp4 metadata
-
Amazon Begs Employees Not to Leak Corporate Secrets to ChatGPT
jq is your friend.
- Memes are all cool and all. But this is your daily remaining that 10000! =
-
How to export/import/externally-edit/whatever WI entries?
The jq command (https://stedolan.github.io/jq/) is useful pulling that information out.
jello
-
jq 1.7 Released
Jello let’s you use python syntax with dot notation without the stdin/stdout/json.loads boilerplate.
https://github.com/kellyjonbrazil/jello
- the case for bash
-
Simple Apache Log Parser
Yep, you can create a filter in jq to do that. Alternatively, if you prefer Python syntax you could try jello, which works like jq but is really Python under the hood. (I am also the author of jello)
- I'm developing a new command line tool for querying and transforming JSON files , called ~Q (pronounced "unquery"). My design goal is to create a tool that is powerful yet easy to use (aim to be more intuitive for users than existing tools such as jq). Let me know your thoughts and suggestions.
-
An introduction to the magic of jq - Understanding the basics of jq with a realistic example
I'm no expert in any of these tools, but here are some yamlpath and jello examples to match:
-
Show HN: gq – like jq or zq, but you use Go
Similar in concept to jello[0] which works like jq but uses python syntax.
[0] https://github.com/kellyjonbrazil/jello
- Parsing Complex JSON
-
Searching for a value in json with jq
jello:
-
Anyone have a resource to filter out information from complex json outputs? In the example, I am trying to get the "state": "succeeded" information for each entry in the resource array.
Or, if you prefer python list comprehension syntax, you could use Jello:
- Ask HN: Local Tools for Viewing JSON
What are some alternatives?
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
jellex - TUI to filter JSON and JSON Lines data with Python syntax
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
gojq - Pure Go implementation of jq
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.
json5 - JSON5 — JSON for Humans
jsonslicer - Stream JSON parser for Python
jp - Validate and transform JSON with Bash
jmespath.py - JMESPath is a query language for JSON.
nushell - A new type of shell
fx - Terminal JSON viewer & processor