{"blog_url":"https://kiririmode.hatenablog.jp/","published":"2013-06-19 00:00:00","categories":["unix","tool"],"height":"190","url":"https://kiririmode.hatenablog.jp/entry/20130619/p1","description":"brew install jq \u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u306f\u305d\u308c\u304b\u3089\u3060\u3002 ** JSON \u306e\u6574\u5f62 \u826f\u304f\u3042\u308b\u3051\u3069\u3001\u3069\u3063\u304b\u306e API \u304b\u3089\u96d1\u306a\u304b\u3093\u3058\u3067\u9069\u5f53\u306b\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u305f JSON \u304c\u8fd4\u5374\u3055\u308c\u305f\u308a\u3057\u3066\u3001JSONPath \u3092\u66f8\u304f\u306b\u3057\u308d\u3001\u307e\u305a\u306f\u6574\u5f62\u3057\u306a\u3044\u3068 JSON \u306e\u69cb\u9020\u304c\u5206\u304b\u3089\u3093\u3001\u307f\u305f\u3044\u306a\u60b2\u3057\u3044\u3053\u3068\u306b\u306a\u3063\u3066\u4eba\u985e\u304c\u4e0d\u5e78\u306b\u306a\u308b\u3002 \u305f\u3068\u3048\u3070\u3053\u3093\u306a JSON \u304c\u3042\u308b\u3068\u3057\u3066\u3001\u898b\u305f\u77ac\u9593\u30a6\u30c3\u3066\u306a\u3063\u3066\u958b\u767a\u8005\u304c\u4e00\u4eba\u4e0d\u5e78\u306b\u306a\u308b\u3002 |tcsh| $ cat sample.json {\"menu\": { \"id\": \"file\", \"value\": \"File\", \"popup\": { \"menuitem\": [ {\"value\u2026","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"blog_title":"\u7406\u7cfb\u5b66\u751f\u65e5\u8a18","author_name":"kiririmode","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20130619%2Fp1\" title=\"JSON \u3092\u6574\u5f62\u3068\u304b\u52a0\u5de5\u3059\u308b\u306e\u306b\u30d6\u30e9\u30a6\u30b6\u3068\u304b\u30a8\u30c7\u30a3\u30bf\u3068\u304b\u4f7f\u3046\u3093\u3060\u3063\u305f\u3089 jq \u4f7f\u3063\u305f\u65b9\u304c\u6357\u308b\u8a71 (\u57fa\u672c\u7de8) - \u7406\u7cfb\u5b66\u751f\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","title":"JSON \u3092\u6574\u5f62\u3068\u304b\u52a0\u5de5\u3059\u308b\u306e\u306b\u30d6\u30e9\u30a6\u30b6\u3068\u304b\u30a8\u30c7\u30a3\u30bf\u3068\u304b\u4f7f\u3046\u3093\u3060\u3063\u305f\u3089 jq \u4f7f\u3063\u305f\u65b9\u304c\u6357\u308b\u8a71 (\u57fa\u672c\u7de8)","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/kiririmode/"}