Jq
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.