Quantcast
Channel: Active questions tagged jq - Stack Overflow
Viewing all articles
Browse latest Browse all 530

using jq to display pretty json and grep at the output to filter values

$
0
0

On linux, i actually use jq associated with a curl command.Something like this..

 curl <curl expression> | jq

but my pretty json at output got two many lines.I'd like to filter rows, with something like this :

 curl <curl expression> | jq | grep myfilter 

jq util do not accept to be grepped.How can i do the work ?


Viewing all articles
Browse latest Browse all 530

Trending Articles