{"id":11,"date":"2023-08-04T23:07:40","date_gmt":"2023-04-20T06:38:30","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-30T06:33:54","modified_gmt":"2025-07-29T21:33:54","slug":"jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"jq\u3092\u4f7f\u3063\u3066JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u4f5c\u8005\u306f\u3001\u66f8\u3044\u3066\u52df\u91d1\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e00\u74b0\u3068\u3057\u3066\u30d5\u30ea\u30fc\u3084\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u57fa\u91d1\u3092\u5bc4\u4ed8\u5148\u3068\u3057\u3066\u9078\u3073\u307e\u3057\u305f\u3002<\/p>\n<h3>\u5e8f\u6587(\u3058\u3087\u3076\u3093)<\/h3>\n<p>\u5927\u898f\u6a21\u306aJSON\u30d5\u30a1\u30a4\u30eb\u3067\u4f5c\u696d\u3059\u308b\u969b\u306b\u3001\u5fc5\u8981\u306a\u60c5\u5831\u3092\u898b\u3064\u3051\u3066\u64cd\u4f5c\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u624b\u4f5c\u696d\u3067\u95a2\u9023\u3059\u308b\u30b9\u30cb\u30da\u30c3\u30c8\u3092\u30b3\u30d4\u30fc\u3057\u3066\u5408\u8a08\u3092\u8a08\u7b97\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u6642\u9593\u304c\u304b\u304b\u308b\u4e0a\u306b\u4eba\u70ba\u7684\u306a\u30df\u30b9\u306e\u30ea\u30b9\u30af\u3082\u3042\u308a\u307e\u3059\u3002\u4ed6\u306e\u9078\u629e\u80a2\u3068\u3057\u3066\u306f\u3001\u60c5\u5831\u306e\u691c\u7d22\u3084\u64cd\u4f5c\u306b\u6c4e\u7528\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002\u73fe\u4ee3\u306eLinux\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001sed\u3001awk\u3001grep\u306e3\u3064\u306e\u78ba\u7acb\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u51e6\u7406\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u304c\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u3086\u308b\u304f\u69cb\u9020\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3067\u4f5c\u696d\u3059\u308b\u969b\u306b\u5f79\u7acb\u3061\u307e\u3059\u304c\u3001JSON\u306e\u3088\u3046\u306a\u6a5f\u68b0\u53ef\u8aad\u30c7\u30fc\u30bf\u5f62\u5f0f\u306b\u5bfe\u3057\u3066\u306f\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>jq\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067JSON\u306e\u51e6\u7406\u3092\u884c\u3046\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001\u6a5f\u68b0\u53ef\u8aad\u306a\u30c7\u30fc\u30bf\u5f62\u5f0f\u3092\u6271\u3046\u969b\u306b\u826f\u3044\u89e3\u6c7a\u7b56\u3067\u3059\u3002\u7279\u306b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u4f7f\u7528\u304c\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002jq\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u64cd\u4f5c\u3092\u5bb9\u6613\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001JSON API\u3078\u306ecurl\u30b3\u30fc\u30eb\u3092\u5b9f\u884c\u3057\u3001jq\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306e\u5fdc\u7b54\u304b\u3089\u7279\u5b9a\u306e\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30c7\u30fc\u30bf\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066jq\u3092\u30c7\u30fc\u30bf\u53d6\u308a\u8fbc\u307f\u30d7\u30ed\u30bb\u30b9\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002Kubernetes\u30af\u30e9\u30b9\u30bf\u3092\u7ba1\u7406\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001kubectl\u306eJSON\u51fa\u529b\u3092jq\u306e\u5165\u529b\u30bd\u30fc\u30b9\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3001\u7279\u5b9a\u306e\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u5229\u7528\u53ef\u80fd\u306a\u30ec\u30d7\u30ea\u30ab\u6570\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u6d77\u6d0b\u751f\u7269\u306b\u95a2\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u306eJSON\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u63db\u3059\u308b\u305f\u3081\u306bjq\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u3092\u5229\u7528\u3057\u3066\u30c7\u30fc\u30bf\u5909\u63db\u3092\u884c\u3044\u3001\u5909\u63db\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306e\u4e00\u90e8\u3092\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u69cb\u9020\u306b\u7d50\u5408\u3057\u307e\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u6700\u5f8c\u306b\u306f\u3001\u64cd\u4f5c\u3057\u305f\u30c7\u30fc\u30bf\u306b\u95a2\u3059\u308b\u8cea\u554f\u306bjq\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>jq, a JSON parsing and transformation tool. It is available from the repositories for all major Linux distributions. If you are using Ubuntu, run sudo apt install jq to install it.<\/li>\n<li>An understanding of JSON syntax, which you can refresh in An Introduction to JSON.<\/li>\n<\/ul>\n<h2>1. \u30b9\u30c6\u30c3\u30d71\u30fc\u6700\u521d\u306ejq\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c<\/h2>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u5165\u529b\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3001jq\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30b5\u30f3\u30d7\u30eb\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u306e\u51fa\u529b\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002jq\u306f\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u30d1\u30a4\u30d7\u304b\u3089\u5165\u529b\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u524d\u8005\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u304a\u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\uff08\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306fnano\u3092\u4f7f\u7528\uff09\u3092\u4f7f\u3063\u3066\u3001\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb seaCreatures.json \u3092\u4f5c\u6210\u3057\u3066\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\u6d77\u306e\u751f\u7269.json<\/div>\n<pre class=\"post-pre\"><code><span class=\"token punctuation\">[<\/span>\r\n    <span class=\"token punctuation\">{<\/span> <span class=\"token property\">\"name\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Sammy\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"type\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"shark\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"clams\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">5<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span>\r\n    <span class=\"token punctuation\">{<\/span> <span class=\"token property\">\"name\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Bubbles\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"type\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"orca\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"clams\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">3<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span>\r\n    <span class=\"token punctuation\">{<\/span> <span class=\"token property\">\"name\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Splish\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"type\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"dolphin\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"clams\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">2<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span>\r\n    <span class=\"token punctuation\">{<\/span> <span class=\"token property\">\"name\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"Splash\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"type\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\"dolphin\"<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token property\">\"clams\"<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">2<\/span> <span class=\"token punctuation\">}<\/span>\r\n<span class=\"token punctuation\">]<\/span>\r\n<\/code><\/pre>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u6b8b\u308a\u306e\u90e8\u5206\u3067\u3082\u3053\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u6700\u5f8c\u307e\u3067\u306b\u3001\u3053\u306e\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u4ee5\u4e0b\u306e\u8cea\u554f\u306b\u7b54\u3048\u308b\u305f\u3081\u306ejq\u30b3\u30de\u30f3\u30c9\u3092\u4e00\u884c\u3067\u66f8\u304f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>What are the names of the sea creatures in list form?<\/li>\n<li>How many clams do the creatures own in total?<\/li>\n<li>How many of those clams are owned by dolphins?<\/li>\n<\/ul>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u5165\u529b\u30d5\u30a1\u30a4\u30eb\u306b\u52a0\u3048\u3066\u3001\u884c\u3044\u305f\u3044\u6b63\u78ba\u306a\u5909\u63db\u3092\u8aac\u660e\u3059\u308b\u30d5\u30a3\u30eb\u30bf\u304c\u5fc5\u8981\u3067\u3059\u3002.\uff08\u30d4\u30ea\u30aa\u30c9\uff09\u30d5\u30a3\u30eb\u30bf\u3001\u307e\u305f\u306f\u6052\u7b49\u6f14\u7b97\u5b50\u3068\u3082\u547c\u3070\u308c\u308b\u30d5\u30a3\u30eb\u30bf\u306f\u3001JSON\u306e\u5165\u529b\u3092\u305d\u306e\u307e\u307e\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3057\u3066\u3044\u308b\u304b\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u540c\u4e00\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3082\u3057\u30d1\u30fc\u30b9\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001seaCreatures.json\u304c\u6709\u52b9\u306aJSON\u3092\u542b\u3093\u3067\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001JSON\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30c6\u30a3\u6f14\u7b97\u5b50\u3092\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;.&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066jq\u3092\u4f7f\u3046\u5834\u5408\u3001\u5e38\u306b\u5165\u529b\u30d5\u30a1\u30a4\u30eb\u306b\u7d9a\u3051\u3066\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u6e21\u3057\u307e\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u306f\u3001\u30b7\u30a7\u30eb\u306b\u7279\u5225\u306a\u610f\u5473\u3092\u6301\u3064\u30b9\u30da\u30fc\u30b9\u3084\u4ed6\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u3067\u56f2\u3080\u306e\u304c\u826f\u3044\u7fd2\u6163\u3067\u3059\u3002\u305d\u308c\u306b\u3088\u308a\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u30b3\u30de\u30f3\u30c9\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3067\u3042\u308b\u3053\u3068\u3092\u30b7\u30a7\u30eb\u306b\u4f1d\u3048\u307e\u3059\u3002\u5b89\u5fc3\u3057\u3066\u304f\u3060\u3055\u3044\u3001jq\u3092\u5b9f\u884c\u3057\u3066\u3082\u5143\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u5909\u66f4\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u51fa\u529b\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>[ { &#8220;name&#8221;: &#8220;Sammy&#8221;, &#8220;type&#8221;: &#8220;shark&#8221;, &#8220;clams&#8221;: 5 }, { &#8220;name&#8221;: &#8220;Bubbles&#8221;, &#8220;type&#8221;: &#8220;orca&#8221;, &#8220;clams&#8221;: 3 }, { &#8220;name&#8221;: &#8220;Splish&#8221;, &#8220;type&#8221;: &#8220;dolphin&#8221;, &#8220;clams&#8221;: 2 }, { &#8220;name&#8221;: &#8220;Splash&#8221;, &#8220;type&#8221;: &#8220;dolphin&#8221;, &#8220;clams&#8221;: 2 } ]<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001jq\u306f\u51fa\u529b\u3092\u898b\u3084\u3059\u304f\u6574\u5f62\u3057\u307e\u3059\u3002\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u9069\u7528\u3057\u3001\u5024\u306e\u5f8c\u306b\u6539\u884c\u3092\u8ffd\u52a0\u3057\u3001\u53ef\u80fd\u306a\u5834\u5408\u306b\u306f\u51fa\u529b\u306b\u8272\u3092\u4ed8\u3051\u307e\u3059\u3002\u8272\u4ed8\u3051\u306b\u3088\u308a\u3001\u4ed6\u306e\u30c4\u30fc\u30eb\u3067\u751f\u6210\u3055\u308c\u305fJSON\u30c7\u30fc\u30bf\u3092\u8abf\u67fb\u3059\u308b\u969b\u306b\u3001\u591a\u304f\u306e\u958b\u767a\u8005\u304c\u53ef\u8aad\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001JSON API\u306b\u5bfe\u3057\u3066curl\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u969b\u306b\u3001JSON\u306e\u5fdc\u7b54\u3092jq &#8216;.&#8217;\u306b\u30d1\u30a4\u30d7\u3057\u3066\u6574\u5f62\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u73fe\u5728\u3001jq\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u3092\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u5165\u529b\u30d5\u30a1\u30a4\u30eb\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3044\u304f\u3064\u304b\u306e\u7570\u306a\u308b\u30d5\u30a3\u30eb\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001creatures\u3001totalClams\u3001totalDolphinClams\u306e\u5024\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001creatures\u306e\u5024\u304b\u3089\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 &#8211; \u751f\u7269\u306e\u4fa1\u5024\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u30af\u30ea\u30fc\u30c1\u30e3\u30fc\u306e\u5024\u3092\u4f7f\u7528\u3057\u3066\u3001\u5168\u3066\u306e\u6d77\u306e\u751f\u7269\u306e\u30ea\u30b9\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u306e\u6700\u5f8c\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u540d\u524d\u306e\u30ea\u30b9\u30c8\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>[ &#8220;Sammy&#8221;, &#8220;Bubbles&#8221;, &#8220;Splish&#8221;, &#8220;Splash&#8221; ],<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30ea\u30b9\u30c8\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u751f\u304d\u7269\u306e\u540d\u524d\u3092\u62bd\u51fa\u3057\u3001\u305d\u308c\u3089\u3092\u914d\u5217\u306b\u7d50\u5408\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3059\u3079\u3066\u306e\u751f\u7269\u306e\u540d\u524d\u3092\u53d6\u5f97\u3057\u3001\u305d\u308c\u4ee5\u5916\u306e\u3082\u306e\u3092\u7834\u68c4\u3059\u308b\u305f\u3081\u306b\u3001\u30d5\u30a3\u30eb\u30bf\u3092\u6d17\u7df4\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u914d\u5217\u3067\u4f5c\u696d\u3057\u3066\u3044\u308b\u305f\u3081\u3001jq\u306b\u5bfe\u3057\u3066\u914d\u5217\u305d\u306e\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u305d\u306e\u914d\u5217\u306e\u5024\u306b\u5bfe\u3057\u3066\u64cd\u4f5c\u3057\u305f\u3044\u3053\u3068\u3092\u4f1d\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002.[]\u3068\u66f8\u304b\u308c\u308b\u914d\u5217\u5024\u30a4\u30c6\u30ec\u30fc\u30bf\u306f\u3001\u3053\u306e\u76ee\u7684\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4fee\u6b63\u3057\u305f\u30d5\u30a3\u30eb\u30bf\u3092\u4f7f\u7528\u3057\u3066jq\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;.[]&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3059\u3079\u3066\u306e\u914d\u5217\u306e\u5024\u306f\u3001\u73fe\u5728\u500b\u5225\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>{ &#8220;name&#8221;: &#8220;Sammy&#8221;, &#8220;type&#8221;: &#8220;shark&#8221;, &#8220;clams&#8221;: 5 } { &#8220;name&#8221;: &#8220;Bubbles&#8221;, &#8220;type&#8221;: &#8220;orca&#8221;, &#8220;clams&#8221;: 3 } { &#8220;name&#8221;: &#8220;Splish&#8221;, &#8220;type&#8221;: &#8220;dolphin&#8221;, &#8220;clams&#8221;: 2 } { &#8220;name&#8221;: &#8220;Splash&#8221;, &#8220;type&#8221;: &#8220;dolphin&#8221;, &#8220;clams&#8221;: 2 }<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5168\u3066\u306e\u914d\u5217\u30a2\u30a4\u30c6\u30e0\u3092\u5b8c\u5168\u306b\u51fa\u529b\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001name\u5c5e\u6027\u306e\u5024\u3092\u51fa\u529b\u3057\u3001\u6b8b\u308a\u3092\u7834\u68c4\u3057\u305f\u3044\u3067\u3057\u3087\u3046\u3002\u30d1\u30a4\u30d7\u6f14\u7b97\u5b50\u300c|\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5404\u51fa\u529b\u306b\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u4e0a\u3067find | xargs\u3092\u4f7f\u7528\u3057\u3066\u3001\u5404\u691c\u7d22\u7d50\u679c\u306b\u30b3\u30de\u30f3\u30c9\u3092\u9069\u7528\u3057\u305f\u3053\u3068\u304c\u3042\u308c\u3070\u3001\u3053\u306e\u30d1\u30bf\u30fc\u30f3\u306f\u99b4\u67d3\u307f\u304c\u3042\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>seaCreatures.json \u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u3001\u30d1\u30a4\u30d7\u3068\u30d5\u30a3\u30eb\u30bf\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001.name \u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3067\u3001JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e name \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;.[] <mark>| .name<\/mark>&#8216;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ed6\u306e\u5c5e\u6027\u304c\u51fa\u529b\u304b\u3089\u6d88\u3048\u3066\u3044\u308b\u3053\u3068\u306b\u304a\u6c17\u3065\u304d\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&#8220;Sammy&#8221; &#8220;Bubbles&#8221; &#8220;Splish&#8221; &#8220;Splash&#8221;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001jq\u306f\u6b63\u3057\u3044JSON\u3092\u51fa\u529b\u3059\u308b\u305f\u3081\u3001\u6587\u5b57\u5217\u306f\u4e8c\u91cd\u5f15\u7528\u7b26(&#8220;&#8221;)\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3082\u3057\u3082\u4e8c\u91cd\u5f15\u7528\u7b26\u306a\u3057\u306e\u6587\u5b57\u5217\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001-r\u30d5\u30e9\u30b0\u3092\u8ffd\u52a0\u3057\u3066\u751f\u306e\u51fa\u529b\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token parameter variable\">-r<\/span> <span class=\"token string\">&#8216;.[] | .name&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5f15\u7528\u7b26\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Sammy Bubbles Splish Splash<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306f\u4eca\u3001JSON\u5165\u529b\u304b\u3089\u7279\u5b9a\u306e\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u3063\u3066\u3044\u307e\u3059\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u3053\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u4f7f\u3063\u3066\u4ed6\u306e\u7279\u5b9a\u306e\u60c5\u5831\u3092\u898b\u3064\u3051\u3001\u6700\u7d42\u30b9\u30c6\u30c3\u30d7\u3067\u751f\u7269\u306e\u5024\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 &#8211; map\u3068add\u3092\u4f7f\u7528\u3057\u3066totalClams\u306e\u5024\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/h2>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u751f\u7269\u304c\u6301\u3063\u3066\u3044\u308b\u8c9d\u306e\u7dcf\u6570\u306e\u60c5\u5831\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u3044\u304f\u3064\u304b\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u8a08\u3059\u308b\u3053\u3068\u3067\u3001\u7b54\u3048\u3092\u8a08\u7b97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002jq\u306b\u6163\u308c\u308c\u3070\u3001\u624b\u52d5\u8a08\u7b97\u3088\u308a\u3082\u65e9\u304f\u3001\u4eba\u70ba\u7684\u306a\u30df\u30b9\u306e\u30ea\u30b9\u30af\u3082\u6e1b\u308a\u307e\u3059\u3002\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u306e\u6700\u7d42\u7684\u306a\u4e88\u6e2c\u5024\u306f12\u3067\u3059\u3002<\/p>\n<p>\u30b9\u30c6\u30c3\u30d72\u3067\u306f\u3001\u9805\u76ee\u306e\u30ea\u30b9\u30c8\u304b\u3089\u7279\u5b9a\u306e\u60c5\u5831\u3092\u62bd\u51fa\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u6280\u8853\u3092\u518d\u5229\u7528\u3057\u3066\u3001\u30a2\u30b5\u30ea\u306e\u5c5e\u6027\u5024\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u3044\u5c5e\u6027\u306e\u305f\u3081\u306b\u30d5\u30a3\u30eb\u30bf\u3092\u8abf\u6574\u3057\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;.[] | .<mark>clams<\/mark>&#8216;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u8c9d\u306e\u5c5e\u6027\u306e\u500b\u5225\u306e\u5024\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>5 3 2 2<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u500b\u3005\u306e\u5024\u306e\u5408\u8a08\u3092\u6c42\u3081\u308b\u306b\u306f\u3001\u300cadd\u300d\u30d5\u30a3\u30eb\u30bf\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u300cadd\u300d\u30d5\u30a3\u30eb\u30bf\u306f\u914d\u5217\u306b\u5bfe\u3057\u3066\u4f7f\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u73fe\u5728\u306f\u914d\u5217\u306e\u5024\u3092\u51fa\u529b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u307e\u305a\u914d\u5217\u306b\u5305\u3093\u3067\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u65e2\u5b58\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092[]\u3067\u56f2\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;<mark>[<\/mark>.[] | .clams<mark>]<\/mark>&#8216;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5024\u306f\u30ea\u30b9\u30c8\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002 (The values will be displayed in a list.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>[ 5, 3, 2, 2 ]<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30a2\u30c9\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3059\u308b\u524d\u306b\u3001\u30de\u30c3\u30d7\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30de\u30f3\u30c9\u306e\u53ef\u8aad\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4fdd\u5b88\u3082\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002\u914d\u5217\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3057\u3001\u5404\u30a2\u30a4\u30c6\u30e0\u306b\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3057\u3001\u7d50\u679c\u3092\u914d\u5217\u3067\u30e9\u30c3\u30d7\u3059\u308b\u305f\u3081\u306b\u306f\u30011\u3064\u306e\u30de\u30c3\u30d7\u547c\u3073\u51fa\u3057\u3067\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30a2\u30a4\u30c6\u30e0\u306e\u914d\u5217\u304c\u4e0e\u3048\u3089\u308c\u305f\u5834\u5408\u3001\u30de\u30c3\u30d7\u306f\u5404\u30a2\u30a4\u30c6\u30e0\u306b\u5f15\u6570\u3068\u3057\u3066\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001[{&#8220;name&#8221;: &#8220;Sammy&#8221;}, {&#8220;name&#8221;: &#8220;Bubbles&#8221;}]\u306b\u5bfe\u3057\u3066\u30d5\u30a3\u30eb\u30bf\u30fcmap(.name)\u3092\u9069\u7528\u3059\u308b\u3068\u3001\u7d50\u679c\u306eJSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f[&#8220;Sammy&#8221;, &#8220;Bubbles&#8221;]\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u66f8\u304d\u63db\u3048\u3092\u884c\u3044\u3001\u914d\u5217\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u30de\u30c3\u30d7\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3001\u305d\u308c\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;map(.clams)&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u524d\u3068\u540c\u3058\u7d50\u679c\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>[ 5, 3, 2, 2 ]<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4eca\u3001\u914d\u5217\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u8ffd\u52a0\u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u30d1\u30a4\u30d7\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;map(.clams) <mark>| add<\/mark>&#8216;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u914d\u5217\u306e\u5408\u8a08\u984d\u304c\u53d7\u3051\u53d6\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>12<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f7f\u3063\u3066\u3001\u8c9d\u306e\u7dcf\u6570\u3092\u8a08\u7b97\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u5f8c\u3001totalClams\u306e\u5024\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\uff13\u3064\u306e\u8cea\u554f\u306e\u3046\u3061\u3001\uff12\u3064\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u65e2\u306b\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u3042\u3068\uff11\u3064\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f5c\u6210\u3057\u305f\u5f8c\u3001\u6700\u7d42\u7684\u306a\u51fa\u529b\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74\uff1aadd\u30d5\u30a3\u30eb\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001totalDolphinClams\u306e\u5024\u3092\u8a08\u7b97\u3059\u308b\u3002<\/h2>\n<p>\u751f\u7269\u304c\u6301\u3063\u3066\u3044\u308b\u4e8c\u679a\u8c9d\u306e\u6570\u304c\u308f\u304b\u3063\u305f\u306e\u3067\u3001\u30a4\u30eb\u30ab\u304c\u305d\u308c\u3089\u306e\u4e8c\u679a\u8c9d\u306e\u3046\u3061\u4f55\u679a\u6301\u3063\u3066\u3044\u308b\u304b\u3092\u7279\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7279\u5b9a\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u914d\u5217\u8981\u7d20\u306e\u5024\u306e\u307f\u3092\u52a0\u7b97\u3059\u308b\u3053\u3068\u3067\u3001\u7b54\u3048\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u306e\u7d42\u308f\u308a\u306b\u671f\u5f85\u3055\u308c\u308b\u5024\u306f4\u3067\u3042\u308a\u3001\u305d\u308c\u304c\u30a4\u30eb\u30ab\u304c\u6301\u3063\u3066\u3044\u308b\u4e8c\u679a\u8c9d\u306e\u7dcf\u6570\u3067\u3059\u3002\u6700\u7d42\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u3053\u306e\u7d50\u679c\u306e\u5024\u304ctotalDolphinClams\u5c5e\u6027\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Step3\u3067\u884c\u3063\u305f\u3088\u3046\u306b\u3001\u3059\u3079\u3066\u306e\u30a2\u30b5\u30ea\u306e\u5024\u3092\u8ffd\u52a0\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u300c\u30a4\u30eb\u30ab\u300d\u306e\u30bf\u30a4\u30d7\u3092\u6301\u3064\u30af\u30ea\u30fc\u30c1\u30e3\u30fc\u304c\u6301\u3063\u3066\u3044\u308b\u30a2\u30b5\u30ea\u306e\u307f\u3092\u6570\u3048\u307e\u3059\u3002\u7279\u5b9a\u306e\u6761\u4ef6\u3092\u9078\u629e\u3059\u308b\u305f\u3081\u3001select\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\uff1aselect\uff08\u6761\u4ef6\uff09\u3002\u6761\u4ef6\u304ctrue\u3068\u8a55\u4fa1\u3055\u308c\u308b\u5834\u5408\u306f\u3001\u5165\u529b\u304c\u305d\u306e\u307e\u307e\u6e21\u3055\u308c\u307e\u3059\u3002\u305d\u308c\u4ee5\u5916\u306e\u5165\u529b\u306f\u7834\u68c4\u3055\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001JSON\u306e\u5165\u529b\u304c\u300c\u30a4\u30eb\u30ab\u300d\u3067\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u304cselect(. == &#8220;\u30a4\u30eb\u30ab&#8221;)\u3067\u3042\u308b\u5834\u5408\u3001\u51fa\u529b\u306f\u300c\u30a4\u30eb\u30ab\u300d\u3068\u306a\u308a\u307e\u3059\u3002\u5165\u529b\u304c\u300cSammy\u300d\u306e\u5834\u5408\u3001\u540c\u3058\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u306f\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u5024\u306b\u9069\u7528\u3059\u308b\u306b\u306f\u3001map\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u6761\u4ef6\u3092\u6e80\u305f\u3055\u306a\u3044\u914d\u5217\u306e\u5024\u306f\u7834\u68c4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u5834\u5408\u3001\u30bf\u30a4\u30d7\u306e\u5024\u304c\u300c\u30a4\u30eb\u30ab\u300d\u3068\u7b49\u3057\u3044\u914d\u5217\u306e\u5024\u306e\u307f\u3092\u4fdd\u6301\u3057\u305f\u3044\u3067\u3059\u3002\u7d50\u679c\u3068\u3057\u3066\u5f97\u3089\u308c\u308b\u30d5\u30a3\u30eb\u30bf\u30fc\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;map(<mark>select(.type == &#8220;dolphin&#8221;)<\/mark>)&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306f\u3001\u30b5\u30e1\u306e\u30b5\u30df\u30fc\u3068\u30b7\u30e3\u30c1\u306e\u30d0\u30d6\u30eb\u30ba\u306b\u306f\u5408\u81f4\u3057\u307e\u305b\u3093\u304c\u3001\uff12\u5339\u306e\u30a4\u30eb\u30ab\u306b\u306f\u5408\u81f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>[ { &#8220;name&#8221;: &#8220;Splish&#8221;, &#8220;type&#8221;: &#8220;dolphin&#8221;, &#8220;clams&#8221;: 2 }, { &#8220;name&#8221;: &#8220;Splash&#8221;, &#8220;type&#8221;: &#8220;dolphin&#8221;, &#8220;clams&#8221;: 2 } ]<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u51fa\u529b\u306b\u306f\u3001\u751f\u7269\u3054\u3068\u306e\u8c9d\u306e\u6570\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u95a2\u4fc2\u306e\u306a\u3044\u60c5\u5831\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u8c9d\u306e\u5024\u306e\u307f\u3092\u4fdd\u6301\u3059\u308b\u306b\u306f\u3001\u30de\u30c3\u30d7\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u672b\u5c3e\u306b\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u540d\u524d\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;map(select(.type == &#8220;dolphin&#8221;)<mark>.clams<\/mark>)&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30de\u30c3\u30d7\u95a2\u6570\u306f\u914d\u5217\u3092\u5165\u529b\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u3001\u30de\u30c3\u30d7\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\uff08\u5f15\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u308b\uff09\u3092\u5404\u914d\u5217\u8981\u7d20\u306b\u9069\u7528\u3057\u307e\u3059\u3002\u305d\u306e\u7d50\u679c\u3001\u30af\u30ea\u30fc\u30c1\u30e3\u30fc\u3054\u3068\u306b\u30bb\u30ec\u30af\u30c8\u304c4\u56de\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002\u30bb\u30ec\u30af\u30c8\u95a2\u6570\u306f\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\uff12\u3064\u306e\u30a4\u30eb\u30ab\u306e\u305f\u3081\u306b\u51fa\u529b\u3092\u751f\u6210\u3057\u3001\u305d\u308c\u4ee5\u5916\u306e\u8981\u7d20\u306f\u7701\u7565\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u51fa\u529b\u306f\u30012\u3064\u306e\u4e00\u81f4\u3059\u308b\u751f\u7269\u306e\u8c9d\u306e\u5024\u306e\u307f\u3092\u542b\u3080\u914d\u5217\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>[ 2, 2 ]<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u914d\u5217\u306e\u5024\u3092add\u306b\u30d1\u30a4\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;map(select(.type == &#8220;dolphin&#8221;).clams) <mark>| add<\/mark>&#8216;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u300c\u30c9\u30eb\u30d5\u30a3\u30f3\u300d\u306e\u30bf\u30a4\u30d7\u306e\u751f\u7269\u306e\u8c9d\u306e\u4fa1\u5024\u306e\u5408\u8a08\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>4<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30de\u30c3\u30d7\u3068\u30bb\u30ec\u30af\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u914d\u5217\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u6210\u529f\u3055\u305b\u3001\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u914d\u5217\u306e\u8981\u7d20\u3092\u9078\u629e\u3057\u3001\u305d\u308c\u3089\u3092\u5909\u63db\u3057\u3066\u305d\u306e\u5909\u63db\u7d50\u679c\u3092\u5408\u8a08\u3059\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u6226\u7565\u3092\u4f7f\u7528\u3057\u3066\u3001\u6700\u7d42\u51fa\u529b\u306etotalDolphinClams\u3092\u8a08\u7b97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u305d\u306e\u8a08\u7b97\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d75\u2212 \u30c7\u30fc\u30bf\u3092\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u69cb\u9020\u306b\u5909\u63db\u3059\u308b<\/h2>\n<p>\u524d\u306e\u624b\u9806\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u3001\u64cd\u4f5c\u3059\u308b\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u66f8\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u30c7\u30fc\u30bf\u306b\u95a2\u3059\u308b\u8cea\u554f\u306b\u7b54\u3048\u308b\u51fa\u529b\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>What are the names of the sea creatures in list form?<\/li>\n<li>How many clams do the creatures own in total?<\/li>\n<li>How many of those clams are owned by dolphins?<\/li>\n<\/ul>\n<p>\u30ea\u30b9\u30c8\u5f62\u5f0f\u3067\u6d77\u306e\u751f\u304d\u7269\u306e\u540d\u524d\u3092\u898b\u3064\u3051\u308b\u305f\u3081\u306b\u3001\u30de\u30c3\u30d7\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\uff1amap(.name)\u3002\u751f\u304d\u7269\u305f\u3061\u304c\u6240\u6709\u3059\u308b\u8c9d\u306e\u6570\u3092\u5408\u8a08\u3059\u308b\u305f\u3081\u306b\u3001\u3059\u3079\u3066\u306e\u8c9d\u306e\u5024\u3092\u8ffd\u52a0\u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u30d1\u30a4\u30d7\u3057\u307e\u3057\u305f\uff1amap(.clams) | add\u3002\u305d\u308c\u3089\u306e\u8c9d\u306e\u3046\u3061\u30a4\u30eb\u30ab\u304c\u6240\u6709\u3059\u308b\u8c9d\u306e\u6570\u3092\u898b\u3064\u3051\u308b\u305f\u3081\u306b\u3001select\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3001\u6761\u4ef6\u306f\u300c.type == &#8220;dolphin&#8221;\u300d\u3067\u3059\uff1amap(select(.type == &#8220;dolphin&#8221;).clams) | add\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u30921\u3064\u306ejq\u30b3\u30de\u30f3\u30c9\u306b\u7d71\u5408\u3057\u3066\u3001\u3059\u3079\u3066\u306e\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002\u65b0\u3057\u3044JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u30013\u3064\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u671b\u3093\u3060\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u901a\u308a\u3001\u3054\u63d0\u4f9b\u3044\u305f\u3060\u3044\u305fJSON\u30d5\u30a1\u30a4\u30eb\u304c\u521d\u671f\u30c7\u30fc\u30bf\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\u6d77\u306e\u751f\u304d\u7269.json<\/div>\n<pre class=\"post-pre\"><code>[\r\n    { \"name\": \"Sammy\", \"type\": \"shark\", \"clams\": 5 },\r\n    { \"name\": \"Bubbles\", \"type\": \"orca\", \"clams\": 3 },\r\n    { \"name\": \"Splish\", \"type\": \"dolphin\", \"clams\": 2 },\r\n    { \"name\": \"Splash\", \"type\": \"dolphin\", \"clams\": 2 }\r\n]\r\n<\/code><\/pre>\n<p>\u5909\u63db\u3055\u308c\u305fJSON\u306e\u51fa\u529b\u306f\u6b21\u306e\u3088\u3046\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Final Output\">Final Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>{ &#8220;creatures&#8221;: [ &#8220;Sammy&#8221;, &#8220;Bubbles&#8221;, &#8220;Splish&#8221;, &#8220;Splash&#8221; ], &#8220;totalClams&#8221;: 12, &#8220;totalDolphinClams&#8221;: 4 }<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306b\u306f\u3001\u5165\u529b\u5024\u304c\u7a7a\u306e\u5834\u5408\u306e\u5b8c\u5168\u306ajq\u30b3\u30de\u30f3\u30c9\u306e\u69cb\u6587\u306e\u30c7\u30e2\u30f3\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;{ creatures: <mark>[]<\/mark>, totalClams: <mark>0<\/mark>, totalDolphinClams: <mark>0<\/mark> }&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3068\u30013\u3064\u306e\u5c5e\u6027\u3092\u542b\u3080JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>{ &#8220;creatures&#8221;: <mark>[]<\/mark>, &#8220;totalClams&#8221;: <mark>0<\/mark>, &#8220;totalDolphinClams&#8221;: <mark>0<\/mark> }<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306f\u6700\u7d42\u7684\u306a\u51fa\u529b\u306b\u4f3c\u3066\u304d\u3066\u3044\u307e\u3059\u304c\u3001\u5165\u529b\u5024\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u306a\u305c\u306a\u3089\u3001\u305d\u308c\u3089\u306f\u3042\u306a\u305f\u306eseaCreatures.json\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u53d6\u5f97\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u300c\u524d\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u4f5c\u6210\u3057\u305f\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u3001\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u305f\u5c5e\u6027\u5024\u3092\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u300d<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">jq <span class=\"token string\">&#8216;{ creatures: <mark>map(.name)<\/mark>, totalClams: <mark>map(.clams) | add<\/mark>, totalDolphinClams: <mark>map(select(.type == &#8220;dolphin&#8221;).clams) | add<\/mark> }&#8217;<\/span> seaCreatures.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306f\u3001jq\u306b\u5bfe\u3057\u3066JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3088\u3046\u6307\u793a\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>A creatures attribute containing a list of every creature\u2019s name value.<\/li>\n<li>A totalClams attribute containing a sum of every creature\u2019s clams value.<\/li>\n<li>A totalDolphinClams attribute containing a sum of every creature\u2019s clams value for which type equals &#8220;dolphin&#8221;.<\/li>\n<\/ul>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u51fa\u529b\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>{ &#8220;creatures&#8221;: [ &#8220;Sammy&#8221;, &#8220;Bubbles&#8221;, &#8220;Splish&#8221;, &#8220;Splash&#8221; ], &#8220;totalClams&#8221;: 12, &#8220;totalDolphinClams&#8221;: 4 }<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4eca\u30013\u3064\u306e\u8cea\u554f\u306b\u95a2\u9023\u3059\u308b\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3059\u308b\u5358\u4e00\u306eJSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5909\u308f\u3063\u305f\u5834\u5408\u3067\u3082\u3001\u66f8\u3044\u305fjq\u30d5\u30a3\u30eb\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3044\u3064\u3067\u3082\u5909\u63db\u3092\u518d\u9069\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>JSON\u5165\u529b\u3092\u6271\u3046\u969b\u306b\u306f\u3001sed\u306e\u3088\u3046\u306a\u30c6\u30ad\u30b9\u30c8\u64cd\u4f5c\u30c4\u30fc\u30eb\u3067\u306f\u96e3\u3057\u3044\u30c7\u30fc\u30bf\u306e\u5909\u63db\u3092jq\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001select\u95a2\u6570\u3067\u30c7\u30fc\u30bf\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u3001map\u3067\u914d\u5217\u8981\u7d20\u3092\u5909\u63db\u3057\u3001add\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u6570\u5024\u306e\u914d\u5217\u3092\u5408\u8a08\u3057\u3001\u5909\u63db\u3092\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u69cb\u9020\u306b\u30de\u30fc\u30b8\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3057\u305f\u3002<\/p>\n<p>jq\u306e\u9ad8\u5ea6\u306a\u6a5f\u80fd\u306b\u3064\u3044\u3066\u5b66\u3073\u305f\u3044\u5834\u5408\u306f\u3001jq\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8a73\u3057\u304f\u898b\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057JSON\u4ee5\u5916\u306e\u30b3\u30de\u30f3\u30c9\u51fa\u529b\u3067\u3088\u304f\u4f5c\u696d\u3059\u308b\u5834\u5408\u306f\u3001sed\u3001awk\u3001grep\u306e\u30ac\u30a4\u30c9\u3092\u63a2\u7d22\u3059\u308b\u3053\u3068\u3067\u3001\u3069\u3093\u306a\u5f62\u5f0f\u3067\u3082\u52d5\u4f5c\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u51e6\u7406\u6280\u8853\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\u306f\u3001\u66f8\u3044\u3066\u52df\u91d1\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e00\u74b0\u3068\u3057\u3066\u30d5\u30ea\u30fc\u3084\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u57fa\u91d1\u3092\u5bc4\u4ed8\u5148\u3068\u3057\u3066\u9078\u3073\u307e\u3057\u305f\u3002 \u5e8f\u6587(\u3058\u3087\u3076\u3093) \u5927\u898f\u6a21\u306aJSON\u30d5\u30a1\u30a4\u30eb\u3067\u4f5c\u696d\u3059\u308b\u969b\u306b\u3001\u5fc5\u8981\u306a\u60c5\u5831\u3092\u898b\u3064\u3051\u3066\u64cd\u4f5c\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u624b\u4f5c\u696d\u3067 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[37,36,40,39,38],"class_list":{"0":"post-11","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"tag-jq","8":"tag-json","10":"tag-39","11":"tag-38"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>jq\u30b3\u30de\u30f3\u30c9\u3067JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5 - \u5b8c\u5168\u30ac\u30a4\u30c9 | Silicon Cloud<\/title>\n<meta name=\"description\" content=\"jq\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fJSON\u30c7\u30fc\u30bf\u5909\u63db\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308bjq\u306e\u6d3b\u7528\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/jq\u3092\u4f7f\u3063\u3066json\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"jq\u3092\u4f7f\u3063\u3066JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"jq\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fJSON\u30c7\u30fc\u30bf\u5909\u63db\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308bjq\u306e\u6d3b\u7528\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/jq\u3092\u4f7f\u3063\u3066json\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-20T06:38:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-29T21:33:54+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"21\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"jq\u30b3\u30de\u30f3\u30c9\u3067JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5 - \u5b8c\u5168\u30ac\u30a4\u30c9 | Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-04-20T06:38:30+00:00\",\"dateModified\":\"2025-07-29T21:33:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"description\":\"jq\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fJSON\u30c7\u30fc\u30bf\u5909\u63db\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308bjq\u306e\u6d3b\u7528\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u3087\u3046\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"jq\u3092\u4f7f\u3063\u3066JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"jq\u30b3\u30de\u30f3\u30c9\u3067JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5 - \u5b8c\u5168\u30ac\u30a4\u30c9 | Silicon Cloud","description":"jq\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fJSON\u30c7\u30fc\u30bf\u5909\u63db\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308bjq\u306e\u6d3b\u7528\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u3087\u3046\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/jq\u3092\u4f7f\u3063\u3066json\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"jq\u3092\u4f7f\u3063\u3066JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5","og_description":"jq\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fJSON\u30c7\u30fc\u30bf\u5909\u63db\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308bjq\u306e\u6d3b\u7528\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u3087\u3046\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/jq\u3092\u4f7f\u3063\u3066json\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-20T06:38:30+00:00","article_modified_time":"2025-07-29T21:33:54+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"21\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"jq\u30b3\u30de\u30f3\u30c9\u3067JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5 - \u5b8c\u5168\u30ac\u30a4\u30c9 | Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-04-20T06:38:30+00:00","dateModified":"2025-07-29T21:33:54+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"description":"jq\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305fJSON\u30c7\u30fc\u30bf\u5909\u63db\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3002\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af\u307e\u3067\u3001\u521d\u5fc3\u8005\u306b\u3082\u5206\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308bjq\u306e\u6d3b\u7528\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u3087\u3046\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"jq\u3092\u4f7f\u3063\u3066JSON\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/jq%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6json%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":35315,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions\/35315"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}