In this short clip, we’ll look at using
jq to filter JSON arrays.
👉 Tested on MacOS Mojave but should work on earlier versions and all flavours of Linux
jq is really powerful but watch out for over using it. It is probably more easier to achieve the same thing in a proper language.