jq is a utility for extracting/editing/displaying structured information encoded as json sed is a very versatile program for extracting/editing/displaying information encoded as text. Both of them are quite powerful, but also dificult to use;
this text tries to provide illustrated example of jq processing pipelines. each link in the example will show you an intermedeate result of each processing step. The html was created by this script