-
https://github.com/reegnz/jq-zsh-plugin/blob/e61804e35a593ad...
zshbuiltins(1): Unlike parameter assignment statements, typeset's exit status on an assignemt that involves a command substitution does not reflect the exit status of the command substitution. Therefore, to test for an error in a command substitution, separate the declaration of the parameter from its initialization.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Seems he is using something called biowasm aioli: https://github.com/biowasm/aioli
> Aioli is a library for running genomics command-line tools in the browser using WebAssembly. See Who uses biowasm for example use cases.
https://biowasm.com/cdn/v3/jq/1.6
-
Not a 1:1 replacement, but I created https://github.com/pacha/cels because I wanted to have a more intuitive way of working with JSON and YAML files
-
It seems like jq is getting a nice boost due to how useful it is getting JSON into and out of OpenAI and LLM environments that understand jq. The big new release/relaunch shows the project is up and running again so maybe we see even more integration with Agent/Function type use cases or some pydantic-ish guardrails. Thanks for the Bookmark !
https://github.com/jqlang/jq/releases/tag/jq-1.7
-
* https://github.com/wader/jqjq
It really is a super cool little, super expressive nearly (if not entirely) turing complete pure functional programming language.
You can:
-
I found Jq to be difficult to use which is why Oj, https://github.com/ohler55/ojg is based on JSONPath. There still are a lot of options but it only takes a couple of help screens to figure out what the options are.
-
Nice!
Let me piggyback to mention the (neo)vim plugin I use for tightening the loop... https://github.com/phelipetls/vim-jqplay
It's great for building large complex queries that will eventually live in scripts, but your zsh plugin seems to hit a real sweet spot of fast feedback for ad-hoc queries too! Huge props!
-
as a list of jq arguments.
You can use it to make queries or keep track of a documents structure.
https://github.com/TomConlin/json_to_paths
-
Thanks for the jqjq shoutout! :) i'm quite sure jq is turing complete, jq (and jqjq!) can implement brainfuck https://github.com/01mf02/jaq/blob/main/examples/bf.jq
-
> So all I want is a tool to go from json => line oriented and I will do the rest with the vast library of experience I already have at transformations on the command line.*
The tool for that is likely https://github.com/tomnomnom/gron
Related posts
-
8 small data transforms I don't want to write as shell glue anymore
-
Show HN: Rjq – a fast JSON filtering tool for Windows and Linux
-
From Regex Rampage to Lazy Bliss: My rjq Performance Adventure
-
Show HN: jnv: Interactive JSON filter using jq [Release v0.3.0]
-
Jaq – A jq clone focused on correctness, speed, and simplicity