Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jq count outputs

echo '[{"username":"user1"},{"username":"user2"}]' | jq '. | length'
> 2
Source by bigdatums.net #
 
PREVIOUS NEXT
Tagged: #jq #count #outputs
ADD COMMENT
Topic
Name
1+4 =