DEV Community

Ahmy Yulrizka
Ahmy Yulrizka

Posted on • Originally published at til.yulrizka.com

JQ: counting lenght of an array

echo '[{"username":"user1"},{"username":"user2"}]' | jq '. | length'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)