For the complete documentation index, see llms.txt. This page is also available as Markdown.

jq counting lenght of an array

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

Last updated