If it is expected that all JSON records contain the same number of elements, you can simply print the first output line: jq '. | length' test_file.json ...
確定! 回上一頁