An underappreciated feature of jq is simply using it to pretty-print compact JSON such as jq . compact.json.
Is there a jp equivalent? I tried cat compact.json | jp @ but that did not do what I expected, probably owing to my having learned JMESPath only a couple hours ago and still finding my legs.
An underappreciated feature of
jqis simply using it to pretty-print compact JSON such asjq . compact.json.Is there ajpequivalent? I triedcat compact.json | jp @but that did not do what I expected, probably owing to my having learned JMESPath only a couple hours ago and still finding my legs.