{"title":"Counting JSON Records with jq Command","version":"1.0","height":"190","width":"100%","provider_url":"https://hatena.blog","url":"https://en.bioerrorlog.work/entry/count-json-items-in-linux","description":"This article summarizes how to count the number of records in JSON using the jq command, depending on the JSON format. Introduction Environment Counting JSON Records JSON Documents with Array Wrapping JSON Documents with Object Wrapping JSON Lines Conclusion References Introduction Recently, I neede\u2026","provider_name":"Hatena Blog","published":"2025-02-24 09:54:01","blog_title":"BioErrorLog Tech Blog","blog_url":"https://en.bioerrorlog.work/","type":"rich","author_url":"https://blog.hatena.ne.jp/BioErrorLog/","categories":["Linux"],"author_name":"BioErrorLog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20210529/20210529161837.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fen.bioerrorlog.work%2Fentry%2Fcount-json-items-in-linux\" title=\"Counting JSON Records with jq Command - BioErrorLog Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}