{"id":188248,"date":"2013-07-29T21:18:03","date_gmt":"2013-07-29T17:18:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=188248"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=188248","title":{"rendered":"<span class=\"post_title\">\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432 \u0432 Python<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2e1\/1a2\/6f6\/2e11a26f611f57275cf0f408652d9d22.png\"\/><\/p>\n<p>  \u0412\u0430\u043c \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0447\u0443\u0436\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b? \u0410 \u0432 \u0444\u0430\u0439\u043b\u044b \u0441 \u043d\u0435\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0443 NSD \u0438\u043b\u0438 BIND9? \u0410 \u0435\u0441\u043b\u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a, \u0441\u043c\u044b\u0441\u043b\u043e\u0432\u044b\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432, \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043a\u0438\u0434\u0430\u0435\u0442 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0445.<\/p>\n<p>  \u0412\u043e\u0442 \u043f\u043e\u0447\u0435\u043c\u0443 \u044f \u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0432\u0430\u043c\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"http:\/\/github.com\/Eugeny\/reconfigure\">python-reconfigure<\/a>.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 object mapping \u043c\u0435\u0436\u0434\u0443 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u043a\u043e\u043d\u0444\u0438\u0433-\u0444\u0430\u0439\u043b\u0430 \u0438 python-\u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438.<br \/>  Reconfigure \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u00ab\u043b\u043e\u043c\u0430\u0435\u0442\u00bb \u0444\u0430\u0439\u043b\u044b, \u0438 \u043d\u0435 \u0441\u0442\u0435\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 \u0438 \u043e\u043f\u0446\u0438\u0439 \u0432\u043d\u0443\u0442\u0440\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<\/p>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443:<\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; from reconfigure.configs import FSTabConfig &gt;&gt;&gt; from reconfigure.items.fstab import FilesystemData &gt;&gt;&gt; &gt;&gt;&gt; config = FSTabConfig(path='\/etc\/fstab') &gt;&gt;&gt; config.load() &gt;&gt;&gt; print config.tree {     &quot;filesystems&quot;: [         {             &quot;passno&quot;: &quot;0&quot;,             &quot;device&quot;: &quot;proc&quot;,             &quot;mountpoint&quot;: &quot;\/proc&quot;,             &quot;freq&quot;: &quot;0&quot;,             &quot;type&quot;: &quot;proc&quot;,             &quot;options&quot;: &quot;nodev,noexec,nosuid&quot;         },         {             &quot;passno&quot;: &quot;1&quot;,             &quot;device&quot;: &quot;UUID=dfccef1e-d46c-45b8-969d-51391898c55e&quot;,             &quot;mountpoint&quot;: &quot;\/&quot;,             &quot;freq&quot;: &quot;0&quot;,             &quot;type&quot;: &quot;ext4&quot;,             &quot;options&quot;: &quot;errors=remount-ro&quot;         }     ] } &gt;&gt;&gt; tmpfs = FilesystemData() &gt;&gt;&gt; tmpfs.mountpoint = '\/srv\/cache' &gt;&gt;&gt; tmpfs.type = 'tmpfs' &gt;&gt;&gt; tmpfs.device = 'none' &gt;&gt;&gt; config.tree.filesystems.append(tmpfs) &gt;&gt;&gt; config.save() &gt;&gt;&gt; quit() $ cat \/etc\/fstab proc    \/proc   proc    nodev,noexec,nosuid     0       0 UUID=dfccef1e-d46c-45b8-969d-51391898c55e \/ ext4 errors=remount-ro 0 1 none    \/srv\/cache      tmpfs   none    0       0 <\/code><\/pre>\n<p>  Reconfigure \u2014 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430, \u0438 \u043a\u043b\u0430\u0441\u0441\u044b *Config \u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044e\u044e \u043b\u043e\u0433\u0438\u043a\u0443.<br \/>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u00ab\u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c\u00bb.<br \/>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0442\u0435\u043a\u0441\u0442 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c \u0432 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e.<\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; from reconfigure.parsers import SSVParser &gt;&gt;&gt; from reconfigure.builders import BoundBuilder &gt;&gt;&gt; content = open('\/etc\/fstab').read() &gt;&gt;&gt; syntax_tree = SSVParser().parse(content) &gt;&gt;&gt; syntax_tree &lt;reconfigure.nodes.RootNode object at 0x7f1319eeec50&gt; &gt;&gt;&gt; print syntax_tree (None)         (line)                 (token)                         value = proc                 (token)                         value = \/proc                 (token)                         value = proc                 (token)                         value = nodev,noexec,nosuid                 (token)                         value = 0                 (token)                         value = 0         (line)                 (token)                         value = UUID=83810b56-ef4b-44de-85c8-58dc589aef48                 (token)                         value = \/                 (token)                         value = ext4                 (token)                         value = errors=remount-ro                 (token)                         value = 0                 (token)                         value = 1 <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c, \u043a\u043b\u0430\u0441\u0441-\u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c (Builder) \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 python-\u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0445 \u043a \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u0434\u0435\u0440\u0435\u0432\u0443.<\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; builder = BoundBuilder(FSTabData) &gt;&gt;&gt; data_tree = builder.build(syntax_tree) &gt;&gt;&gt; print data_tree {     &quot;filesystems&quot;: [         {             &quot;passno&quot;: &quot;0&quot;,             &quot;device&quot;: &quot;proc&quot;,             &quot;mountpoint&quot;: &quot;\/proc&quot;,             &quot;freq&quot;: &quot;0&quot;,\u0426             &quot;type&quot;: &quot;proc&quot;,             &quot;options&quot;: &quot;nodev,noexec,nosuid&quot;         },         {             &quot;passno&quot;: &quot;1&quot;,             &quot;device&quot;: &quot;UUID=83810b56-ef4b-44de-85c8-58dc589aef48&quot;,             &quot;mountpoint&quot;: &quot;\/&quot;,             &quot;freq&quot;: &quot;0&quot;,             &quot;type&quot;: &quot;ext4&quot;,             &quot;options&quot;: &quot;errors=remount-ro&quot;         }     ] } <\/code><\/pre>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u2014 \u044d\u0442\u043e proxy-\u043a\u043b\u0430\u0441\u0441\u044b, \u0432\u0441\u0435 \u043f\u043e\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438, \u0438 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0434\u0435\u0440\u0435\u0432\u0435.<\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; syntax_tree.children[0] &lt;reconfigure.nodes.Node object at 0x7f51c63b9f10&gt; &gt;&gt;&gt; print syntax_tree.children[0] (line)         (token)                 value = proc         (token)                 value = \/proc         (token)                 value = proc         (token)                 value = nodev,noexec,nosuid         (token)                 value = 0         (token)                 value = 0  &gt;&gt;&gt; data_tree.filesystems[0].options += ',rw' &gt;&gt;&gt; print syntax_tree.children[0] (line)         (token)                 value = proc         (token)                 value = \/proc         (token)                 value = proc         (token)                 value = nodev,noexec,nosuid,rw         (token)                 value = 0         (token)                 value = 0 <\/code><\/pre>\n<p>  \u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u0435\u0440\u0435\u0432\u0430 \u043a \u043f\u043e\u043b\u044f\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u043a\u043b\u0430\u0441\u0441\u0430\u0445 *Data.<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u0432\u044f\u0437\u043e\u043a \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430 \/etc\/resolv.conf:<\/p>\n<pre><code class=\"python\">from reconfigure.nodes import Node, PropertyNode from reconfigure.items.bound import BoundData   class ResolvData (BoundData):     pass   class ItemData (BoundData):     def template(self):         return Node('line', children=[             Node('token', children=[PropertyNode('value', 'nameserver')]),             Node('token', children=[PropertyNode('value', '8.8.8.8')]),         ])   ResolvData.bind_collection('items', item_class=ItemData) ItemData.bind_property('value', 'name', path=lambda x: x.children[0]) ItemData.bind_property('value', 'value', path=lambda x: x.children[1]) <\/code><\/pre>\n<p>  \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435, \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438 \u0434\u0435\u0440\u0435\u0432\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430:<\/p>\n<pre><code class=\"python\">&gt;&gt;&gt; print open('\/etc\/resolv.conf').read() # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.0.1  &gt;&gt;&gt; print syntax_tree (None)         (line) (Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)         DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN)                 (token)                         value = nameserver                 (token)                         value = 127.0.0.1  &gt;&gt;&gt; print data_tree {     &quot;items&quot;: [         {             &quot;name&quot;: &quot;nameserver&quot;,              &quot;value&quot;: &quot;127.0.0.1&quot;         }     ] }  <\/code><\/pre>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, Reconfigure \u043e\u0441\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0430 \u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0438 include-\u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445, \u0438 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u0432 \u043a\u0430\u043a\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>  Reconfigure \u043b\u0435\u0433\u043a\u043e <a href=\"http:\/\/eugeny.github.io\/reconfigure\/docs\/architecture\/components.html\">\u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c<\/a> \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0441\u0435\u0440\u0430\u043c\u0438, builder&#8217;\u0430\u043c\u0438 \u0438 includer&#8217;\u0430\u043c\u0438.<\/p>\n<p>  \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 Reconfigure \u2014 \u044d\u0442\u043e \u0441\u0435\u0440\u0434\u0446\u0435 <a href=\"http:\/\/ajenti.org\">Ajenti 1.0 Beta<\/a>, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437 \ud83d\ude42<\/p>\n<p>  <a href=\"https:\/\/github.com\/Eugeny\/reconfigure\">Github<\/a><br \/>  <a href=\"https:\/\/pypi.python.org\/pypi\/reconfigure\/%28latest%20release%29\">PYPI<\/a><br \/>  <a href=\"http:\/\/eugeny.github.io\/reconfigure\/\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><br \/>  DEB \u0438 RPM \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 <a href=\"http:\/\/docs.ajenti.org\/man\/install\/general.html\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 Ajenti<\/a>    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/188248\/\"> http:\/\/habrahabr.ru\/post\/188248\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2e1\/1a2\/6f6\/2e11a26f611f57275cf0f408652d9d22.png\"\/><\/p>\n<p>  \u0412\u0430\u043c \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0447\u0443\u0436\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b? \u0410 \u0432 \u0444\u0430\u0439\u043b\u044b \u0441 \u043d\u0435\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0443 NSD \u0438\u043b\u0438 BIND9? \u0410 \u0435\u0441\u043b\u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a, \u0441\u043c\u044b\u0441\u043b\u043e\u0432\u044b\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432, \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043a\u0438\u0434\u0430\u0435\u0442 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0445.<\/p>\n<p>  \u0412\u043e\u0442 \u043f\u043e\u0447\u0435\u043c\u0443 \u044f \u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0432\u0430\u043c\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"http:\/\/github.com\/Eugeny\/reconfigure\">python-reconfigure<\/a>.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-188248","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/188248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=188248"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/188248\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=188248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=188248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=188248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}