Hypercipient

Data-Processing

Building JSON from Raw Input

The command jq is often used to process JSON into other JSON. What if you do not start with JSON, though. It can still help.

Restructure JSON Objects Using jq

The JSON parsing command jq can do more than extract a subset of elements from JSON. This guide shows some examples you may encounter.

Sorting Data from the CLI

Sometimes you just need to put a bit of text in order. This could me numerically or alphbetically. If you need to do this from a shell script or the terminal, the sort command and its friends can help.