| ▲ | dietr1ch 4 hours ago | |
cat file.whatever | whatever2json | jq ? (Or to avoid using cat to read, whatever2json file.whatever | jq) | ||
| ▲ | creationix 3 hours ago | parent [-] | |
Or in this case, just do `rx file.rx` It has jq like queries built in and supports inputs with either rx or json. Also if you prefer jq, you can do `rx file.rx | jq` | ||