{"published":"2018-11-15 10:47:04","categories":["JSON"],"author_url":"https://blog.hatena.ne.jp/kagasu/","title":"JSON\u3092CLI\u3067\u6bd4\u8f03\uff08diff\uff09\u3059\u308b\u65b9\u6cd5","blog_url":"https://kagasu.hatenablog.com/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://kagasu.hatenablog.com/entry/2018/11/15/104704","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300cJSON\u3092CLI\u3067diff\u3059\u308b\u65b9\u6cd5\u300d\u3067\u3059\u3002 \u2161. \u3084\u308a\u65b9 1. jsondiffpatch \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b npm install -g jsondiffpatch 2. \u6bd4\u8f03\u3059\u308b $ cat a.json { \"name\": \"a\" } $ cat b.json { \"name\": \"b\" }jsondiffpatch a.json b.json \u5b9f\u884c\u7d50\u679c \u53c2\u8003 https://github.com/benjamine/jsondiffpatch","width":"100%","type":"rich","author_name":"kagasu","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2018%2F11%2F15%2F104704\" title=\"JSON\u3092CLI\u3067\u6bd4\u8f03\uff08diff\uff09\u3059\u308b\u65b9\u6cd5 - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u5099\u5fd8\u9332","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kagasu/20181115/20181115104515.png","height":"190"}