A lightweight and flexible command-line JSON processor
jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
To install jq, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install jq
To see what files were installed by jq, run:
port contents jq
To later upgrade jq, run:
sudo port selfupdate && sudo port upgrade jq
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.