See https://github.com/simeji/jid/issues/66#issuecomment-4436718...
- FX "expand/collapse" functionality seems way better for exploring APIs whose shape you don't know
- jid is maybe marginally better for APIs where you have instant recall of the exact shape and need to rapidly query it
Overall, I like FX better because it provides feedback on your query faster.
I am grateful to the author(s) for creating it and I'll be using it instead of JQ whenever I need to wrangle APIs from the CLI.
[1] https://medium.com/@antonmedv/discover-how-to-use-fx-effecti...
shuf -n 1000 file
This is part of coreutils.
There's also jiq, which is a clone of jid (mentioned elsewhere) but with jq syntax
jq —-compact-output '.' | head -10 | foo
jq also has --stream for handling large inputs.
- FX "expand/collapse" functionality seems way better for exploring APIs whose shape you don't know
- jid is maybe marginally better for APIs where you have instant recall of the exact shape and need to rapidly query it
Overall, I like FX better because it provides feedback on your query faster.
I am grateful to the author(s) for creating it and I'll be using it instead of JQ whenever I need to wrangle APIs from the CLI.