termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Read JSON from stdin and execute a specified JSONPath expression
ajson
Executes JSONPath on JSON objects.
More information: <https://github.com/spyzhov/ajson>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
cat {{path/to/file.json}} | ajson '{{$..json[?(@.path)]}}'
click the source code to copy