{"id":180,"date":"2020-03-06T15:03:04","date_gmt":"2020-03-06T06:03:04","guid":{"rendered":"http:\/\/batmask.dothome.co.kr\/?p=180"},"modified":"2025-09-09T09:17:30","modified_gmt":"2025-09-09T00:17:30","slug":"destructuring-declarations-in-kotlin","status":"publish","type":"post","link":"http:\/\/batmask.net\/index.php\/2020\/03\/06\/180\/","title":{"rendered":"Destructuring Declarations in Kotlin"},"content":{"rendered":"\n<p>\ucf54\ud2c0\ub9b0\uc744 \ubcf4\ub2e4\ubcf4\uba74, \ub2e4\uc74c\uacfc\uac19\uc774 \ud30c\uc774\uc36c\uc5d0\uc11c\ub098 \ubcfc\ub4ef\ud55c \uae30\uc774\ud55c \ud45c\ud604\uc744 \ub9c8\uc8fc\ud558\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#22272e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>val (name, age) = person<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">val<\/span><span style=\"color: #ADBAC7\"> (name, age) <\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\"> person<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc77c\ubc18\uc801\uc778 \ud45c\ud604\uc740 \uc544\ub2cc\ub370, \uc774\ucc98\ub7fc \ud55c\ud050\uc5d0 \uc5ec\ub7ec \ubcc0\uc218\ub4e4\uc5d0 \uac12\uc744 \uc800\uc7a5\ud558\ub294\uac8c \uac00\ub2a5\ud558\ub2e4. \uc774\ub97c Desturturing Declarations\ub77c\uace0 \ubd80\ub978\ub2e4. \uc704 \ucf54\ub4dc\ub294 \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ubcc0\ud615\ub41c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#22272e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>val name = person.component1()\nval age = person.component2()<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">val<\/span><span style=\"color: #ADBAC7\"> name <\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\"> person.<\/span><span style=\"color: #DCBDFB\">component1<\/span><span style=\"color: #ADBAC7\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">val<\/span><span style=\"color: #ADBAC7\"> age <\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\"> person.<\/span><span style=\"color: #DCBDFB\">component2<\/span><span style=\"color: #ADBAC7\">()<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ubcf4\uba74 \uc54c\uaca0\uc9c0\ub9cc, \ub0b4\uac00 \ub9cc\ub4dc\ub294 \ud074\ub798\uc2a4\uc5d0 component1(), component2()\ub97c \uc815\uc758 \ud558\uba74 \uc5ed\uc2dc \uc774\ucc98\ub7fc \uc0ac\uc6a9\uac00\ub2a5\ud558\ub2e4. data class\uc5d0\ub294 \uc774\ubbf8 \uad6c\ud604\ub418\uc5b4 \uc788\uae30 \ub54c\ubb38\uc5d0, \uc608\uc678\uc801\uc778 \uacbd\uc6b0\uac00 \uc544\ub2c8\ub77c\uba74 data class\ub97c \uc4f0\ub294\uac8c \uc81c\uc77c \uc27d\ub2e4. \uc608\ub97c\ub4e4\uc5b4 \ud568\uc218\uc758 \ub9ac\ud134\uac12\uc744 \ubc1b\ub294 \uacbd\uc6b0, \ub9ac\ud134\uac12\uc744 data class\ub85c \ud574\uc8fc\uba74 \ub41c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#22272e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>data class Result(val result: Int, val status: Status)\nfun function(...): Result {\n    \/\/ computations\n    \n    return Result(result, status)\n}\n\n\/\/ Now, to use this function:\nval (result, status) = function(...)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">data<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">class<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">Result<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F47067\">val<\/span><span style=\"color: #ADBAC7\"> result: <\/span><span style=\"color: #F69D50\">Int<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #F47067\">val<\/span><span style=\"color: #ADBAC7\"> status: <\/span><span style=\"color: #F69D50\">Status<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">fun<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">function<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F47067\">..<\/span><span style=\"color: #ADBAC7\">.): <\/span><span style=\"color: #F69D50\">Result<\/span><span style=\"color: #ADBAC7\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><span style=\"color: #768390\">\/\/ computations<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><span style=\"color: #F47067\">return<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">Result<\/span><span style=\"color: #ADBAC7\">(result, status)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #768390\">\/\/ Now, to use this function:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">val<\/span><span style=\"color: #ADBAC7\"> (result, status) <\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">function<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F47067\">..<\/span><span style=\"color: #ADBAC7\">.)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Map\uc5d0\uc11c\ub3c4 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\uac00\ub2a5\ud55c\ub370, map iterator\uc5d0 \uc704 \ub0b4\uc6a9\uc774 \uad6c\ud604\ub418\uc5b4 \uc788\uc73c\ubbc0\ub85c \ub2e4\uc74c\uacfc \uac19\uc774 for\ubb38\uc774\ub098 lambda\ud45c\ud604\uc5d0 \uc4f8 \uc218 \uc788\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#22272e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>for ((key, value) in map) {\n   \/\/ do something with the key and the value\n}\n...\nmap.mapValues { (key, value) -> \"$value!\" }<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">for<\/span><span style=\"color: #ADBAC7\"> ((key, <\/span><span style=\"color: #F47067\">value<\/span><span style=\"color: #ADBAC7\">) <\/span><span style=\"color: #F47067\">in<\/span><span style=\"color: #ADBAC7\"> map) {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #768390\">\/\/ do something with the key and the value<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">..<\/span><span style=\"color: #ADBAC7\">.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">map.<\/span><span style=\"color: #DCBDFB\">mapValues<\/span><span style=\"color: #ADBAC7\"> { (key, <\/span><span style=\"color: #F47067\">value<\/span><span style=\"color: #ADBAC7\">) <\/span><span style=\"color: #F47067\">-&gt;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #6CB6FF\">$value<\/span><span style=\"color: #96D0FF\">!&quot;<\/span><span style=\"color: #ADBAC7\"> }<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\uc704 \ub0b4\uc6a9\uc740 <a href=\"https:\/\/kotlinlang.org\/docs\/reference\/multi-declarations.html\">\ucf54\ud2c0\ub9b0 \uacf5\uc2dd\ubb38\uc11c<\/a>( <a href=\"https:\/\/kotlinlang.org\/docs\/reference\/multi-declarations.html\">https:\/\/kotlinlang.org\/docs\/reference\/multi-declarations.html<\/a> )\uc5d0\uc11c \uac00\uc838\uc654\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ucf54\ud2c0\ub9b0\uc744 \ubcf4\ub2e4\ubcf4\uba74, \ub2e4\uc74c\uacfc\uac19\uc774 \ud30c\uc774\uc36c\uc5d0\uc11c\ub098 \ubcfc\ub4ef\ud55c \uae30\uc774\ud55c \ud45c\ud604\uc744 \ub9c8\uc8fc\ud558\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4. \uc77c\ubc18\uc801\uc778 \ud45c\ud604\uc740 \uc544\ub2cc\ub370, \uc774\ucc98\ub7fc \ud55c\ud050\uc5d0 \uc5ec\ub7ec \ubcc0\uc218\ub4e4\uc5d0 \uac12\uc744 \uc800\uc7a5\ud558\ub294\uac8c \uac00\ub2a5\ud558\ub2e4. \uc774\ub97c Desturturing Declarations\ub77c\uace0 \ubd80\ub978\ub2e4. \uc704 \ucf54\ub4dc\ub294 \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ubcc0\ud615\ub41c\ub2e4. \ubcf4\uba74 \uc54c\uaca0\uc9c0\ub9cc, \ub0b4\uac00 \ub9cc\ub4dc\ub294 \ud074\ub798\uc2a4\uc5d0 component1(), component2()\ub97c \uc815\uc758 \ud558\uba74 \uc5ed\uc2dc \uc774\ucc98\ub7fc \uc0ac\uc6a9\uac00\ub2a5\ud558\ub2e4. data class\uc5d0\ub294 \uc774\ubbf8 \uad6c\ud604\ub418\uc5b4 \uc788\uae30 \ub54c\ubb38\uc5d0, \uc608\uc678\uc801\uc778 \uacbd\uc6b0\uac00 \uc544\ub2c8\ub77c\uba74 data class\ub97c \uc4f0\ub294\uac8c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[43,42,38,41],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-kotlin","tag-declarations","tag-destructuring","tag-kotlin","tag-kotlin-kr"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":4,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":3422,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions\/3422"}],"wp:attachment":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}