JQ: counting lenght of an array
echo '[{"username":"user1"},{"username":"user2"}]' | jq '. | length'        Enter fullscreen mode   ...
Tags: todayilearned, unix