|8 months ago
|2 days ago
|Apache License 2.0
|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.
Jq Internals: Backtracking
10 projects | news.ycombinator.com | 5 Oct 2022
I have a hard time suggesting such a thing, because I find JMESPath incredibly inferior to jq's expressiveness, but if you're in the AWS ecosystem much, you may enjoy https://github.com/jmespath/jp#readme which uses the same query language as does awscli (https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-f...). That may at least pay more dividends than keeping jq's language in your head where it will only ever be used by jq
Zq: An Easier (and Faster) Alternative to Jq
36 projects | news.ycombinator.com | 26 Apr 2022
What tools did you discover that made your work so much easier for DevOps & SRE
11 projects | /r/devops | 1 Apr 2022
FX: An interactive alternative to jq to process JSON
10 projects | news.ycombinator.com | 8 Jan 2022
There’s also jp, which interprets JMESPath: https://github.com/jmespath/jp
This one has the advantage of being natively understood by aws-cli, meaning you can pass a JMESPath to an AWS call and only receive the filtered / transformed result back.
Tips on Adding JSON Output to Your CLI App
20 projects | news.ycombinator.com | 5 Dec 2021
Essential Command Line Tools for Developers
29 projects | dev.to | 15 Jan 2024
Official Documentation: jqlang.github.io/jq29 projects | dev.to | 15 Jan 2024
View on GitHub
Command line tools I always install on Ubuntu servers
4 projects | dev.to | 25 Dec 2023
To handle JSON files and JSON outputs in a script or format and highlight it, jq can be very handy. Many command line tools provide a json output, so you don't have to write a custom parser for a table a list in a terminal. Instead of that, you can use jq to get a specific value from the output or even modify the output. For more information, you can visit https://jqlang.github.io/jq/
How I use Nix in my Elm projects
8 projects | dev.to | 19 Dec 2023
In some projects I've wanted to use HTTPie to test APIs and jq to work with some JSON data. Nix has been really helpful in managing those dependencies that I can't easily get from npm.
Gooey: Turn almost any Python command line program into a full GUI application
14 projects | news.ycombinator.com | 9 Dec 2023
> I'd love to see programs communicate through a typed JSON/proto format that shed enough details to make this more independent, and get useful shell command structuring/completion or full blown GUIs from simply introspecting the expected input and output types.
You should try PowerShell. It's basically Microsoft's .NET ecosystem molded into an interactive command line. I'm not entirely sure if PoweShell can make full use of the static types that build up its core, but its ability to exchange objects in the command line is almost unmatched.
To a Man with `Jq`, Everything Looks Like JSON
7 projects | news.ycombinator.com | 8 Dec 2023
Yeah, but muscle memory bites me all the time and I put the backslash on the closing paren, too, because I'm so used to the regex usage of that syntax which needs them to match
I also want to draw the reader's attention to the magic of |@uri <https://github.com/jqlang/jq/blob/jq-1.7/docs/content/manual...> for a bunch of cases, but doubly so in TFA's case where they're plugging strings into a URI context. Simple string concat often works great for "hello world", but the world is not always just hello, so one quick use of the filter and jq's got your back
echo "the world's scary" | jq -Rr '"\(.)"'
Jaq – A jq clone focused on correctness, speed, and simplicity
I think the original devs just got burnt out for a while https://github.com/jqlang/jq/issues/2305#issuecomment-157263...
jq 1.7 do preserve large integers but will truncate if any operation is done on them. Unfortunetly it currently truncates to a decimal64 which is a bit confusing, this will be fixed in next release where it follow the suggestion from the JSON spec and truncates to binary64 (double) https://github.com/jqlang/jq/pull/2949
The fact that jq takes almost a second to run on a Pi is crazy. And the tool is written in C.
Yeap was fixed in 1.7 https://github.com/jqlang/jq/pull/2646
What are some alternatives?
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
jp - Validate and transform JSON with Bash
gojq - Pure Go implementation of jq
jmespath.py - JMESPath is a query language for JSON.
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.
Jolt - JSON to JSON transformation library written in Java.
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.
jmespath-ts - Typescript translation of the jmespath.js package
json5 - JSON5 — JSON for Humans
jless - jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
jql - A JSON Query Language CLI tool
nvim-jqx - Populate the quickfix with json entries