Stedolan.github. IO /jq/#

Both the Windows and Linux versions have only two executables, no more than 2MB in size.

This section uses The Windows version as an example to describe how to use it.

Let’s say I have a complex JSON file that I open with a Text editor such as Sublime Text and is badly formatted.

Jq-win64.exe.a.json:

Jq automatically beautifies the JSON file and prints the beautification to the console.

This means we can import the embellished string into a new JSON file using the redirection symbol > :

This is how it looks when opened in Sublime Text. Isn’t it pretty?

With JQ, you don’t have to use a lot of slow JSON files to beautify your website online anymore.

Jq does much more than beautify JSON content.

For example, query all values with an Attributes key:

The result is the same as what we see with the JSON file browser:

Linux is used exactly the same as Windows.