{"id":234,"date":"2023-11-20T09:34:58","date_gmt":"2023-11-20T01:34:58","guid":{"rendered":"http:\/\/ericw.top\/?p=234"},"modified":"2023-11-20T09:34:58","modified_gmt":"2023-11-20T01:34:58","slug":"java-%e5%a4%9a%e6%80%81","status":"publish","type":"post","link":"http:\/\/ericw.top\/?p=234","title":{"rendered":"JAVA \u591a\u6001"},"content":{"rendered":"<h1 id=\"toc-0\">JAVA\u4e2d\u7684\u591a\u6001<\/h1>\n<p>\u591a\u6001\u662f\u9762\u578b\u5bf9\u8c61\u7f16\u7a0b\u4e2d\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u5728\u4e0d\u540c\u5bf9\u8c61\u4e0a\u8c03\u7528\u76f8\u540c\u7684\u65b9\u6cd5\uff0c\u4f46\u6839\u636e\u5bf9\u8c61\u7684\u4e0d\u540c\uff0c\u4f1a\u4ea7\u751f\u4e0d\u540c\u7684\u884c\u4e3a\u3002<\/p>\n<h2 id=\"toc-1\">\u4ec0\u4e48\u662f\u591a\u6001<\/h2>\n<p>\u591a\u6001\u662f\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u6838\u5fc3\u6982\u5ff5\u4e4b\u4e00\u3002<\/p>\n<p>\u591a\u6001\u6709\u4e24\u79cd\u5f62\u5f0f\uff1a\u7f16\u8bd1\u65f6\u591a\u6001\u548c\u8fd0\u884c\u65f6\u591a\u6001\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u7f16\u8bd1\u65f6\u591a\u6001\uff08\u9759\u6001\u591a\u6001\uff09\uff1a<\/strong>\u662f\u901a\u8fc7\u65b9\u6cd5\u7684\u91cd\u8f7d\u548c\u65b9\u6cd5\u7684\u53c2\u6570\u6765\u5b9e\u73b0\u7684\uff0c\u7f16\u8bd1\u5668\u5728\u7f16\u8bd1\u65f6\u51b3\u5b9a\u8981\u8c03\u7528\u7684\u65b9\u6cd5\u3002\u8fd9\u79cd\u591a\u6001\u6027\u5728\u7f16\u8bd1\u9636\u6bb5\u5c31\u5df2\u7ecf\u786e\u5b9a\u4e86\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u65f6\u591a\u6001\uff08\u52a8\u6001\u591a\u6001\uff09\uff1a<\/strong>\u662f\u901a\u8fc7\u65b9\u6cd5\u7684\u91cd\u5199\uff08\u8986\u76d6\uff09\u548c\u5bf9\u8c61\u7684\u5b9e\u9645\u7c7b\u578b\u6765\u5b9e\u73b0\u7684\uff0c\u5b83\u5728\u8fd0\u884c\u65f6\u624d\u51b3\u5b9a\u8981\u8c03\u7528\u7684\u65b9\u6cd5\u3002\u8fd9\u79cd\u591a\u6001\u6027\u662f\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u786e\u5b9a\u7684\u3002<\/p>\n<\/li>\n<\/ul>\n<h2 id=\"toc-2\">\u591a\u6001\u7684\u6838\u5fc3\u6982\u5ff5<\/h2>\n<ol>\n<li><strong>\u65b9\u6cd5\u91cd\u5199\uff08Override\uff09\uff1a<\/strong> \u5b50\u7c7b\u53ef\u4ee5\u63d0\u4f9b\u5bf9\u7236\u7c7b\u4e2d\u5df2\u6709\u65b9\u6cd5\u7684\u65b0\u5b9e\u73b0\u3002\u5728\u5b50\u7c7b\u4e2d\u91cd\u65b0\u5b9a\u4e49\u4e00\u4e2a\u4e0e\u7236\u7c7b\u4e2d\u65b9\u6cd5\u540d\u3001\u53c2\u6570\u5217\u8868\u548c\u8fd4\u56de\u7c7b\u578b\u76f8\u540c\u7684\u65b9\u6cd5\uff0c\u4ece\u800c\u8986\u76d6\uff08\u91cd\u5199\uff09\u4e86\u7236\u7c7b\u4e2d\u7684\u65b9\u6cd5\u3002<\/li>\n<li><strong>\u5411\u4e0a\u8f6c\u578b\uff08Upcasting\uff09\uff1a<\/strong> \u53ef\u4ee5\u5c06\u5b50\u7c7b\u7684\u5bf9\u8c61\u5f15\u7528\u8d4b\u7ed9\u7236\u7c7b\u7c7b\u578b\u7684\u53d8\u91cf\uff0c\u8fd9\u88ab\u79f0\u4e3a\u5411\u4e0a\u8f6c\u578b\u3002\u8fd9\u6837\u505a\u53ef\u4ee5\u8ba9\u6211\u4eec\u5728\u7236\u7c7b\u5f15\u7528\u4e0a\u8c03\u7528\u5b50\u7c7b\u7684\u65b9\u6cd5\uff0c\u4ece\u800c\u5b9e\u73b0\u591a\u6001\u6027\u3002<\/li>\n<li><strong>\u52a8\u6001\u7ed1\u5b9a\uff08Dynamic Binding\uff09\uff1a<\/strong> \u8fd0\u884c\u65f6\u591a\u6001\u6027\u7684\u5173\u952e\u6982\u5ff5\u4e4b\u4e00\u3002\u5b83\u610f\u5473\u7740\u65b9\u6cd5\u7684\u8c03\u7528\u662f\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u6839\u636e\u5bf9\u8c61\u7684\u5b9e\u9645\u7c7b\u578b\u6765\u786e\u5b9a\u7684\uff0c\u800c\u4e0d\u662f\u5728\u7f16\u8bd1\u65f6\u3002<\/li>\n<li><strong>instanceof \u8fd0\u7b97\u7b26\uff1a<\/strong> \u7528\u4e8e\u68c0\u67e5\u4e00\u4e2a\u5bf9\u8c61\u662f\u5426\u662f\u7279\u5b9a\u7c7b\u7684\u5b9e\u4f8b\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5728\u8fd0\u884c\u65f6\u786e\u5b9a\u5bf9\u8c61\u7684\u7c7b\u578b\uff0c\u4ece\u800c\u8fdb\u884c\u9002\u5f53\u7684\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<h2 id=\"toc-3\">\u5b9e\u73b0\u591a\u6001<\/h2>\n<p>\u8981\u5b9e\u73b0\u591a\u6001\uff0c\u9700\u8981\u6ee1\u8db3\u4ee5\u4e0b\u7684\u6761\u4ef6<\/p>\n<ol>\n<li>\u5b58\u5728\u7ee7\u627f\u5173\u7cfb\uff0c\u6709\u5b50\u7c7b\u548c\u7236\u7c7b<\/li>\n<li>\u5b50\u7c7b\u5fc5\u987b\u91cd\u5199\u7236\u7c7b\u7684\u65b9\u6cd5\uff0c\u8fd9\u610f\u5473\u7740\u5b50\u7c7b\u5fc5\u987b\u63d0\u4f9b\u7236\u7c7b\u65b9\u6cd5\u7684\u65b0\u5b9e\u73b0\u3002<\/li>\n<li>\u5b50\u7c7b\u7684\u5f15\u7528\u53ef\u4ee5\u6307\u5411\u5b50\u7c7b\u7684\u5bf9\u8c61\uff0c\u8fd9\u662f\u5411\u4e0a\u8f6c\u578b\u7684\u4f53\u73b0\u3002<\/li>\n<\/ol>\n<pre><code class=\"prettyprint\"  class=\"language-java\">class Animal {\n    void makeSound() {\n        System.out.println(&quot;Animal makes a sound.&quot;);\n    }\n}\n\nclass Dog extends Animal {\n    @Override\n    void makeSound() {\n        System.out.println(&quot;Dog barks.&quot;);\n    }\n}\n\nclass Cat extends Animal {\n    @Override\n    void makeSound() {\n        System.out.println(&quot;Cat meows.&quot;);\n    }\n}<\/code><\/pre>\n<p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6709\u4e00\u4e2a\u7236\u7c7b<code class=\"prettyprint\" >Animal<\/code>\u548c\u4e24\u4e2a\u5b50\u7c7b<code class=\"prettyprint\" >Dog<\/code>\u548c<code class=\"prettyprint\" >Cat<\/code>\u3002\u5b50\u7c7b\u90fd\u91cd\u5199\u4e86\u7236\u7c7b\u7684<code class=\"prettyprint\" >makeSound()<\/code>\u65b9\u6cd5\u3002<\/p>\n<p>\u7136\u540e\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7236\u7c7b\u5f15\u7528\uff0c\u4f46\u5c06\u5176\u6307\u5411\u4e0d\u540c\u7684\u5b50\u7c7b\u5bf9\u8c61\uff0c\u4ee5\u5b9e\u73b0\u591a\u6001\u6027\u3002<\/p>\n<pre><code class=\"prettyprint\"  class=\"language-java\">public class Main {\n    public static void main(String[] args) {\n        Animal animal1 = new Dog();\n        Animal animal2 = new Cat();\n\n        animal1.makeSound(); \/\/ \u8f93\u51fa &quot;Dog barks.&quot;\n        animal2.makeSound(); \/\/ \u8f93\u51fa &quot;Cat meows.&quot;\n    }\n}<\/code><\/pre>\n<p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e24\u4e2a\u7236\u7c7b\u5f15\u7528 <code class=\"prettyprint\" >animal1<\/code> \u548c <code class=\"prettyprint\" >animal2<\/code>\uff0c\u5206\u522b\u6307\u5411 <code class=\"prettyprint\" >Dog<\/code> \u548c <code class=\"prettyprint\" >Cat<\/code> \u5bf9\u8c61\u3002\u5f53\u6211\u4eec\u8c03\u7528 <code class=\"prettyprint\" >makeSound()<\/code> \u65b9\u6cd5\u65f6\uff0c\u6839\u636e\u5bf9\u8c61\u7684\u5b9e\u9645\u7c7b\u578b\uff0c\u5c06\u6267\u884c\u76f8\u5e94\u5b50\u7c7b\u7684\u65b9\u6cd5\u3002<\/p>\n<p><strong>\u8fd9\u5c31\u662f\u591a\u6001\u7684\u4f53\u73b0\uff1a\u76f8\u540c\u7684\u65b9\u6cd5\u8c03\u7528\u4ea7\u751f\u4e86\u4e0d\u540c\u7684\u884c\u4e3a\uff0c\u5177\u4f53\u7684\u5b9e\u73b0\u53d6\u51b3\u4e8e\u5bf9\u8c61\u7684\u7c7b\u578b\u3002<\/strong><\/p>\n<h2 id=\"toc-4\">instanceof\u8fd0\u7b97\u7b26<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u9700\u8981\u5728\u8fd0\u884c\u65f6\u68c0\u67e5\u5bf9\u8c61\u7684\u7c7b\u578b\uff0c\u4ee5\u4fbf\u6839\u636e\u5bf9\u8c61\u7684\u7c7b\u578b\u91c7\u53d6\u4e0d\u540c\u7684\u884c\u52a8\u3002\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528 <code class=\"prettyprint\" >instanceof<\/code> \u8fd0\u7b97\u7b26\u3002<\/p>\n<p><code class=\"prettyprint\" >instanceof<\/code> \u8fd0\u7b97\u7b26\u7528\u4e8e\u68c0\u67e5\u4e00\u4e2a\u5bf9\u8c61\u662f\u5426\u662f\u7279\u5b9a\u7c7b\u7684\u5b9e\u4f8b\uff0c\u6216\u8005\u662f\u5426\u662f\u5176\u5b50\u7c7b\u7684\u5b9e\u4f8b\u3002\u5b83\u7684\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"prettyprint\"  class=\"language-java\">object instanceof Class<\/code><\/pre>\n<p>\u5982\u679c <code class=\"prettyprint\" >object<\/code> \u662f <code class=\"prettyprint\" >Class<\/code> \u7c7b\u7684\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u6216\u8005\u662f <code class=\"prettyprint\" >Class<\/code> \u7c7b\u7684\u5b50\u7c7b\u7684\u4e00\u4e2a\u5b9e\u4f8b\uff0c<code class=\"prettyprint\" >instanceof<\/code> \u8fd0\u7b97\u7b26\u8fd4\u56de <code class=\"prettyprint\" >true<\/code>\uff0c\u5426\u5219\u8fd4\u56de <code class=\"prettyprint\" >false<\/code>\u3002<\/p>\n<p>\u8ba9\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u6765\u6f14\u793a <code class=\"prettyprint\" >instanceof<\/code> \u8fd0\u7b97\u7b26\u7684\u4f7f\u7528\uff1a<\/p>\n<pre><code class=\"prettyprint\"  class=\"language-java\">class Animal {\n    void makeSound() {\n        System.out.println(&quot;Animal makes a sound.&quot;);\n    }\n}\n\nclass Dog extends Animal {\n    @Override\n    void makeSound() {\n        System.out.println(&quot;Dog barks.&quot;);\n    }\n}\n\nclass Cat extends Animal {\n    @Override\n    void makeSound() {\n        System.out.println(&quot;Cat meows.&quot;);\n    }\n}\n\npublic class Main {\n    public static void main(String[] args) {\n        Animal animal1 = new Dog();\n        Animal animal2 = new Cat();\n\n        if (animal1 instanceof Dog) {\n            System.out.println(&quot;animal1 is a Dog.&quot;);\n        }\n\n        if (animal2 instanceof Cat) {\n            System.out.println(&quot;animal2 is a Cat.&quot;);\n        }\n    }\n}<\/code><\/pre>\n<h2 id=\"toc-5\">\u591a\u6001\u7684\u4f18\u70b9<\/h2>\n<p>\u591a\u6001\u662f\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u6838\u5fc3\u7279\u6027\u4e4b\u4e00\uff0c\u5177\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u4ee3\u7801\u91cd\u7528\uff1a<\/strong> \u53ef\u4ee5\u4f7f\u7528\u901a\u7528\u7684\u63a5\u53e3\u6765\u64cd\u4f5c\u4e0d\u540c\u7c7b\u578b\u7684\u5bf9\u8c61\uff0c\u4ece\u800c\u51cf\u5c11\u4e86\u4ee3\u7801\u7684\u91cd\u590d\u7f16\u5199\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7075\u6d3b\u6027\uff1a<\/strong> \u53ef\u4ee5\u8f7b\u677e\u5730\u6269\u5c55\u7a0b\u5e8f\uff0c\u6dfb\u52a0\u65b0\u7684\u5b50\u7c7b\u800c\u65e0\u9700\u4fee\u6539\u73b0\u6709\u7684\u4ee3\u7801\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u53ef\u7ef4\u62a4\u6027\uff1a<\/strong> \u901a\u8fc7\u591a\u6001\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u4ee3\u7801\u7ec4\u7ec7\u5f97\u66f4\u52a0\u6e05\u6670\u548c\u6613\u4e8e\u7ef4\u62a4\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7b80\u5316\u63a5\u53e3\uff1a<\/strong> \u591a\u6001\u6027\u5141\u8bb8\u6211\u4eec\u4f7f\u7528\u901a\u7528\u63a5\u53e3\uff0c\u800c\u4e0d\u5fc5\u5173\u5fc3\u5bf9\u8c61\u7684\u5177\u4f53\u7c7b\u578b\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff1a<\/strong> \u4ee3\u7801\u66f4\u6613\u4e8e\u7406\u89e3\uff0c\u56e0\u4e3a\u5b83\u66f4\u7b26\u5408\u73b0\u5b9e\u4e16\u754c\u7684\u6a21\u578b\u3002<\/p>\n<\/li>\n<\/ul>\n<h2 id=\"toc-6\">\u591a\u6001\u7684\u5b9e\u9645\u5e94\u7528<\/h2>\n<p>\u591a\u6001\u6027\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u5e7f\u6cdb\u4f7f\u7528\uff0c\u7279\u522b\u662f\u5728\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u9886\u57df\u3002<br \/>\n<strong>\u56fe\u5f62\u7ed8\u5236\uff1a<\/strong> \u56fe\u5f62\u7ed8\u5236\u7a0b\u5e8f\u53ef\u4ee5\u4f7f\u7528\u591a\u6001\u6027\u6765\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u56fe\u5f62\u5bf9\u8c61\uff0c\u5982\u5706\u5f62\u3001\u77e9\u5f62\u548c\u4e09\u89d2\u5f62\u3002<\/p>\n<p><strong>\u6c7d\u8f66\u5236\u9020\uff1a<\/strong> \u6c7d\u8f66\u5236\u9020\u516c\u53f8\u53ef\u4ee5\u4f7f\u7528\u591a\u6001\u6027\u6765\u5904\u7406\u4e0d\u540c\u578b\u53f7\u548c\u54c1\u724c\u7684\u6c7d\u8f66\uff0c\u4ece\u800c\u7b80\u5316\u751f\u4ea7\u6d41\u7a0b\u3002<\/p>\n<p><strong>\u52a8\u6001\u63d2\u4ef6\uff1a<\/strong> \u8f6f\u4ef6\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u4f7f\u7528\u591a\u6001\u6027\u6765\u652f\u6301\u52a8\u6001\u52a0\u8f7d\u548c\u5378\u8f7d\u63d2\u4ef6\uff0c\u4ece\u800c\u589e\u52a0\u7075\u6d3b\u6027\u3002<\/p>\n<p><strong>\u7535\u5b50\u5546\u52a1\uff1a<\/strong> \u7535\u5b50\u5546\u52a1\u5e73\u53f0\u53ef\u4ee5\u4f7f\u7528\u591a\u6001\u6027\u6765\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u5546\u54c1\u548c\u4ed8\u6b3e\u65b9\u5f0f\u3002<\/p>\n<p><strong>\u6e38\u620f\u5f00\u53d1\uff1a<\/strong> \u6e38\u620f\u5f00\u53d1\u4e2d\u7684\u89d2\u8272\u548c\u9053\u5177\u53ef\u4ee5\u4f7f\u7528\u591a\u6001\u6027\u6765\u5b9e\u73b0\u4e0d\u540c\u7684\u884c\u4e3a\u3002<\/p>\n<h2 id=\"toc-7\">\u603b\u7ed3<\/h2>\n<p><strong>\u591a\u6001\u662f Java \u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u91cd\u8981\u6982\u5ff5<\/strong>\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u5728\u4e0d\u540c\u7684\u5bf9\u8c61\u4e0a\u8c03\u7528\u76f8\u540c\u7684\u65b9\u6cd5\uff0c<strong>\u5b9e\u73b0\u4ee3\u7801\u7684\u91cd\u7528\u548c\u53ef\u6269\u5c55\u6027<\/strong>\u3002\u5728\u591a\u6001\u6027\u7684\u80cc\u540e\u662f\u65b9\u6cd5\u7684\u91cd\u5199\u548c\u52a8\u6001\u7ed1\u5b9a\u7684\u673a\u5236\u3002\u901a\u8fc7\u5411\u4e0a\u8f6c\u578b\u548c <code class=\"prettyprint\" >instanceof<\/code> \u8fd0\u7b97\u7b26\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u597d\u5730\u5229\u7528\u591a\u6001\u6027\u3002<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\n\u7248\u6743\u58f0\u660e\uff1a\u672c\u6587\u4e3aCSDN\u535a\u4e3b\u300c\u7e41\u4f9dFanyi\u300d\u7684\u539f\u521b\u6587\u7ae0\uff0c\u9075\u5faaCC 4.0 BY-SA\u7248\u6743\u534f\u8bae\uff0c\u8f6c\u8f7d\u8bf7\u9644\u4e0a\u539f\u6587\u51fa\u5904\u94fe\u63a5\u53ca\u672c\u58f0\u660e\u3002<br \/>\n\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/blog.csdn.net\/qq_21484461\/article\/details\/132675768\">https:\/\/blog.csdn.net\/qq_21484461\/article\/details\/132675768<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JAVA\u4e2d\u7684\u591a\u6001 \u591a\u6001\u662f\u9762\u578b\u5bf9\u8c61\u7f16\u7a0b\u4e2d\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u5728\u4e0d\u540c\u5bf9\u8c61\u4e0a\u8c03\u7528\u76f8\u540c\u7684\u65b9\u6cd5\uff0c\u4f46\u6839\u636e\u5bf9\u8c61\u7684\u4e0d\u540c\uff0c\u4f1a\u4ea7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":235,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[],"_links":{"self":[{"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts\/234"}],"collection":[{"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234"}],"version-history":[{"count":1,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":236,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions\/236"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/media\/235"}],"wp:attachment":[{"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}