jq -c -r '.[] | .id_str' # Can be rewritten to jq -r '.[].id_str' jq -c -r '.[] | .id_str' | head -10 | tail -1 # Can be rewritten to jq -r '.[9].id_str'