The jq is a command-line JSON processor that allows users to modify JSON files in various ways. It requires to be installed first. If you're on a Debian-based distro, you can use this command: sudo apt install jq.

2m read timeFrom linuxhandbook.com
Post cover image
Table of contents
Method 1: Pretty print JSON files using the jq commandMethod 2: Using json_pp to pretty print JSON filesMethod 3: Using Python to pretty print JSON fileMethod 4: Using the json_xs command to pretty print JSON fileWrapping Up
1 Comment

Sort: