{"id":3269,"date":"2020-04-25T11:02:48","date_gmt":"2020-04-25T02:02:48","guid":{"rendered":"https:\/\/www.cotegg.com\/blog\/?p=3269"},"modified":"2020-04-25T11:02:48","modified_gmt":"2020-04-25T02:02:48","slug":"typescript%e3%81%a7map%e4%bd%bf%e7%94%a8%e6%99%82%e3%81%ab%e3%82%b3%e3%83%b3%e3%83%91%e3%82%a4%e3%83%ab%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.cotegg.com\/blog\/?p=3269","title":{"rendered":"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f<\/p>\n<p>\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n const arr = [\r\n  {\r\n    id: 1,\r\n    name: '\u592a\u90ce',\r\n    userCode: 1,\r\n  },\r\n  {\r\n    id: 2,\r\n    name: '\u82b1\u5b50',\r\n    userCode: 2,\r\n  },\r\n  {\r\n    id: 3,\r\n    name: '\u592a\u90ce',\r\n    userCode: 1,\r\n  }\r\n]\r\n\r\nconst map = new Map(\r\n  arr.map(a =&gt; [a.userCode, a])\r\n);\r\nconst items = Array.from(map.values());\r\nconsole.log(items);\r\n\/\/ \u51fa\u529b\u7d50\u679c\r\n\/\/ [\r\n\/\/   { id: 3, name: '\u592a\u90ce', userCode: 1 },\r\n\/\/   { id: 2, name: '\u82b1\u5b50', userCode: 2 }\r\n\/\/ ]\r\n<\/pre>\n<p>\u3053\u308c\u3067\u91cd\u8907\u6392\u9664\u306f\u51fa\u6765\u308b\u306e\u3067\u3059\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306fTypescript\u306e\u578b\u63a8\u8ad6\u304c\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u3044\u3067\u8d77\u304d\u308b\u73fe\u8c61\u3067\u3059\u3002<\/p>\n<p>github\u306b\u3082issue\u3068\u3057\u3066\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/github.com\/microsoft\/TypeScript\/issues\/8936\">ES6 Map array constructor needs extra hints<\/a><\/p>\n<p>\u89e3\u6c7a\u4f5c\u3068\u3057\u3066\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u578b\u3092\u3064\u3051\u3066\u3042\u3052\u308c\u3070\u89e3\u6d88\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nconst map = new Map(\r\n  arr.map(a =&gt; [a.userCode, a])\r\n);\r\n\r\n\u2193\r\n\r\nconst map = new Map(\r\n  arr.map&lt;[number, User]&gt;(a =&gt; [a.userCode, a])\r\n);\r\n<\/pre>\n<p>\u3053\u308c\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u53c2\u8003\u8cc7\u6599<br \/>\n<a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Map\">MDN Map<\/a><br \/>\n<a href=\"https:\/\/www.deep-rain.com\/programming\/javascript\/1125\">\u3010JavaScript\u3011Array\u306e\u91cd\u8907\u3092\u6392\u9664\u3059\u308b\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f \u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 &#8230; <\/p>\n","protected":false},"author":101012,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4<\/title>\n<meta name=\"description\" content=\"\u3053\u3093\u306b\u3061\u306f\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\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.cotegg.com\/blog\/?p=3269\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cotegg.com\/blog\/?p=3269\" \/>\n<meta property=\"og:site_name\" content=\"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/COTegg.japan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-25T02:02:48+00:00\" \/>\n<meta name=\"author\" content=\"asakos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:site\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"asakos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3269#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3269\"},\"author\":{\"name\":\"asakos\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f\"},\"headline\":\"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\",\"datePublished\":\"2020-04-25T02:02:48+00:00\",\"dateModified\":\"2020-04-25T02:02:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3269\"},\"wordCount\":95,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"articleSection\":[\"\u6280\u8853\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=3269#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3269\",\"url\":\"https:\/\/www.cotegg.com\/blog\/?p=3269\",\"name\":\"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\"},\"datePublished\":\"2020-04-25T02:02:48+00:00\",\"dateModified\":\"2020-04-25T02:02:48+00:00\",\"description\":\"\u3053\u3093\u306b\u3061\u306f\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3269#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=3269\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3269#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cotegg.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"name\":\"COTegg\u306e\u30d0\u30b1\u30c4\",\"description\":\"- Bucket of cotegg -\",\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\",\"name\":\"COTegg Inc.\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"contentUrl\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"width\":176,\"height\":60,\"caption\":\"COTegg Inc.\"},\"image\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/COTegg.japan\/\",\"https:\/\/twitter.com\/cotegg_japan\",\"https:\/\/www.instagram.com\/cotegg_japan\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f\",\"name\":\"asakos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g\",\"caption\":\"asakos\"},\"url\":\"https:\/\/www.cotegg.com\/blog\/?author=101012\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","description":"\u3053\u3093\u306b\u3061\u306f\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\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.cotegg.com\/blog\/?p=3269","og_locale":"ja_JP","og_type":"article","og_title":"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","og_description":"\u3053\u3093\u306b\u3061\u306f\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","og_url":"https:\/\/www.cotegg.com\/blog\/?p=3269","og_site_name":"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","article_publisher":"https:\/\/www.facebook.com\/COTegg.japan\/","article_published_time":"2020-04-25T02:02:48+00:00","author":"asakos","twitter_card":"summary_large_image","twitter_creator":"@cotegg_japan","twitter_site":"@cotegg_japan","twitter_misc":{"\u57f7\u7b46\u8005":"asakos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cotegg.com\/blog\/?p=3269#article","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=3269"},"author":{"name":"asakos","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f"},"headline":"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc","datePublished":"2020-04-25T02:02:48+00:00","dateModified":"2020-04-25T02:02:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=3269"},"wordCount":95,"commentCount":0,"publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"articleSection":["\u6280\u8853"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cotegg.com\/blog\/?p=3269#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cotegg.com\/blog\/?p=3269","url":"https:\/\/www.cotegg.com\/blog\/?p=3269","name":"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/#website"},"datePublished":"2020-04-25T02:02:48+00:00","dateModified":"2020-04-25T02:02:48+00:00","description":"\u3053\u3093\u306b\u3061\u306f\u9023\u60f3\u914d\u5217\u3067\u91cd\u8907\u3092\u7701\u304f\u51e6\u7406\u3092\u3057\u305f\u3044\u6642\u306bMap\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3067userCode\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u91cd\u8907\u3068\u307f\u306a\u3057\u3066\u6392\u9664\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=3269#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cotegg.com\/blog\/?p=3269"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cotegg.com\/blog\/?p=3269#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cotegg.com\/blog"},{"@type":"ListItem","position":2,"name":"Typescript\u3067Map\u4f7f\u7528\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc"}]},{"@type":"WebSite","@id":"https:\/\/www.cotegg.com\/blog\/#website","url":"https:\/\/www.cotegg.com\/blog\/","name":"COTegg\u306e\u30d0\u30b1\u30c4","description":"- Bucket of cotegg -","publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.cotegg.com\/blog\/#organization","name":"COTegg Inc.","url":"https:\/\/www.cotegg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","contentUrl":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","width":176,"height":60,"caption":"COTegg Inc."},"image":{"@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/COTegg.japan\/","https:\/\/twitter.com\/cotegg_japan","https:\/\/www.instagram.com\/cotegg_japan\/"]},{"@type":"Person","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f","name":"asakos","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g","caption":"asakos"},"url":"https:\/\/www.cotegg.com\/blog\/?author=101012"}]}},"_links":{"self":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3269"}],"collection":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/101012"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3269"}],"version-history":[{"count":2,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3269\/revisions"}],"predecessor-version":[{"id":3271,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3269\/revisions\/3271"}],"wp:attachment":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}