{"id":957636,"date":"2024-12-27T03:05:29","date_gmt":"2024-12-26T19:05:29","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/957636.html"},"modified":"2024-12-27T03:05:32","modified_gmt":"2024-12-26T19:05:32","slug":"python%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8java%e8%af%ad%e8%a8%80","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/957636.html","title":{"rendered":"python\u5982\u4f55\u8c03\u7528java\u8bed\u8a00"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100906\/cd16ae5d-21de-4f04-8bf8-6d545e90748e.webp\" alt=\"python\u5982\u4f55\u8c03\u7528java\u8bed\u8a00\" \/><\/p>\n<p><p> Python\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8c03\u7528Java\u8bed\u8a00\uff0c\u5305\u62ec\u4f7f\u7528<strong>JPype\u3001Py4J\u3001Jython<\/strong>\u7b49\u5de5\u5177\u3002\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86\u4e0d\u540c\u7684\u673a\u5236\u6765\u6865\u63a5Python\u548cJava\uff0c\u4f7f\u5f97\u5728Python\u73af\u5883\u4e2d\u8fd0\u884cJava\u4ee3\u7801\u6210\u4e3a\u53ef\u80fd\u3002<strong>JPype\u662f\u4e00\u79cd\u6d41\u884c\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u5141\u8bb8\u76f4\u63a5\u5728Python\u4e2d\u8c03\u7528Java\u7c7b\u548c\u65b9\u6cd5\uff0c\u800c\u65e0\u9700\u4fee\u6539Java\u4ee3\u7801<\/strong>\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cJPype\u901a\u8fc7\u542f\u52a8Java\u865a\u62df\u673a\uff08JVM\uff09\u5e76\u5728Python\u4e2d\u521b\u5efaJava\u5bf9\u8c61\u6765\u5b9e\u73b0\u8fd9\u79cd\u96c6\u6210\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001JPYPE\u7b80\u4ecb<\/h3>\n<\/p>\n<p><p>JPype\u662f\u4e00\u4e2aPython\u6a21\u5757\uff0c\u5b83\u5141\u8bb8Python\u7a0b\u5e8f\u8c03\u7528Java\u4ee3\u7801\u3002\u5176\u6838\u5fc3\u601d\u60f3\u662f\u901a\u8fc7\u5728Python\u4e2d\u542f\u52a8\u4e00\u4e2aJava\u865a\u62df\u673a\uff08JVM\uff09\uff0c\u5e76\u901a\u8fc7Java Native Interface\uff08JNI\uff09\u5728Python\u548cJava\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u3002JPype\u7684\u4f18\u70b9\u5728\u4e8e\u5176\u8f7b\u91cf\u7ea7\u548c\u6613\u4e8e\u4f7f\u7528\u7684\u7279\u6027\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>\u8981\u4f7f\u7528JPype\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5\u8be5\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install jpype1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8c03\u7528Java\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u542f\u52a8JVM<\/strong>\uff1a\u5728\u4f7f\u7528JPype\u8c03\u7528Java\u4ee3\u7801\u4e4b\u524d\uff0c\u9700\u8981\u542f\u52a8JVM\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5bfc\u5165Java\u7c7b<\/strong>\uff1a\u4f7f\u7528JPype\u7684<code>JPackage<\/code>\u7c7b\u53ef\u4ee5\u5bfc\u5165Java\u5305\u548c\u7c7b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efaJava\u5bf9\u8c61<\/strong>\uff1a\u53ef\u4ee5\u50cf\u5728Java\u4e2d\u4e00\u6837\u521b\u5efa\u5bf9\u8c61\u5e76\u8c03\u7528\u5176\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import jpype<\/p>\n<p>import jpype.imports<\/p>\n<p>from jpype.types import *<\/p>\n<h2><strong>\u542f\u52a8JVM<\/strong><\/h2>\n<p>jpype.startJVM(classpath=[&#39;\/path\/to\/java\/classes&#39;])<\/p>\n<h2><strong>\u5bfc\u5165Java\u5305\u548c\u7c7b<\/strong><\/h2>\n<p>from java.lang import System<\/p>\n<h2><strong>\u4f7f\u7528Java\u7c7b<\/strong><\/h2>\n<p>System.out.println(&quot;Hello from Java!&quot;)<\/p>\n<h2><strong>\u5173\u95edJVM<\/strong><\/h2>\n<p>jpype.shutdownJVM()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f18\u52bf\u4e0e\u5c40\u9650<\/h4>\n<\/p>\n<p><p>JPype\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u7b80\u5355\u76f4\u63a5\u7684\u4f7f\u7528\u65b9\u5f0f\u548c\u5bf9Java\u7c7b\u7684\u5b8c\u6574\u8bbf\u95ee\u6743\u9650\u3002\u7136\u800c\uff0c\u5b83\u4e5f\u6709\u4e00\u4e9b\u5c40\u9650\u6027\uff0c\u6bd4\u5982\u5728\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\u548c\u6027\u80fd\u65b9\u9762\u53ef\u80fd\u4e0d\u5982\u5176\u4ed6\u65b9\u6848\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001PY4J\u4ecb\u7ecd<\/h3>\n<\/p>\n<p><p>Py4J\u662f\u53e6\u4e00\u4e2a\u6d41\u884c\u7684Python\u5e93\uff0c\u5b83\u5141\u8bb8Python\u7a0b\u5e8f\u8c03\u7528Java\u4ee3\u7801\u3002\u4e0eJPype\u4e0d\u540c\uff0cPy4J\u91c7\u7528\u4e86\u4e00\u79cd\u57fa\u4e8eSocket\u7684\u901a\u4fe1\u673a\u5236\uff0c\u4f7f\u5f97Python\u4e0eJava\u4e4b\u95f4\u7684\u4ea4\u4e92\u66f4\u52a0\u7075\u6d3b\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5Py4J\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u901a\u8fc7pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install py4j<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528Py4J\u65f6\uff0c\u9700\u8981\u5728Java\u7aef\u542f\u52a8\u4e00\u4e2aGatewayServer\uff0c\u7136\u540e\u5728Python\u4e2d\u8fde\u63a5\u8fd9\u4e2a\u670d\u52a1\u5668\u4ee5\u8c03\u7528Java\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><p>Java\u7aef\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-java\">import py4j.GatewayServer;<\/p>\n<p>public class ExampleEntryPoint {<\/p>\n<p>    public String hello(String name) {<\/p>\n<p>        return &quot;Hello, &quot; + name;<\/p>\n<p>    }<\/p>\n<p>    public static void m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n(String[] args) {<\/p>\n<p>        ExampleEntryPoint app = new ExampleEntryPoint();<\/p>\n<p>        GatewayServer server = new GatewayServer(app);<\/p>\n<p>        server.start();<\/p>\n<p>    }<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Python\u7aef\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from py4j.java_gateway import JavaGateway<\/p>\n<p>gateway = JavaGateway()  # connect to the JVM<\/p>\n<p>example_app = gateway.entry_point<\/p>\n<p>print(example_app.hello(&quot;World&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u7279\u70b9\u4e0e\u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<p><p>Py4J\u7684\u7279\u70b9\u662f\u5176\u7075\u6d3b\u6027\u548c\u7f51\u7edc\u5316\u8bbe\u8ba1\uff0c\u975e\u5e38\u9002\u5408\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u9700\u8981\u8fdc\u7a0b\u8c03\u7528\u7684\u573a\u666f\u3002\u7136\u800c\uff0c\u57fa\u4e8eSocket\u7684\u901a\u4fe1\u53ef\u80fd\u5e26\u6765\u4e00\u4e9b\u6027\u80fd\u5f00\u9500\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001JYTHON\u7684\u4f7f\u7528<\/h3>\n<\/p>\n<p><p>Jython\u662fPython\u7684\u4e00\u79cd\u5b9e\u73b0\uff0c\u5141\u8bb8Python\u4ee3\u7801\u76f4\u63a5\u5728Java\u865a\u62df\u673a\u4e0a\u8fd0\u884c\u3002Jython\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u4e0eJava\u7684\u65e0\u7f1d\u96c6\u6210\uff0c\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528Java\u7c7b\u548c\u5e93\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u4e0e\u914d\u7f6e<\/h4>\n<\/p>\n<p><p>Jython\u9700\u8981\u5355\u72ec\u4e0b\u8f7d\u5e76\u5b89\u88c5\uff0c\u53ef\u4ee5\u4ece\u5b98\u65b9\u7f51\u7ad9\u83b7\u53d6Jython\u7684\u5b89\u88c5\u5305\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Jython\u89e3\u91ca\u5668\u6267\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528Java\u7c7b<\/h4>\n<\/p>\n<p><p>\u5728Jython\u4e2d\uff0c\u4f7f\u7528Java\u7c7b\u4e0e\u5728\u6807\u51c6Python\u4e2d\u4f7f\u7528\u6a21\u5757\u7c7b\u4f3c\uff0c\u53ef\u4ee5\u76f4\u63a5\u5bfc\u5165\u5e76\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from java.lang import System<\/p>\n<p>System.out.println(&quot;Hello from Java using Jython!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u4f18\u52a3\u52bf\u5206\u6790<\/h4>\n<\/p>\n<p><p>Jython\u7684\u6700\u5927\u4f18\u52bf\u5728\u4e8e\u5176\u539f\u751f\u7684Java\u96c6\u6210\uff0c\u9002\u5408\u9700\u8981\u5927\u91cf\u4f7f\u7528Java\u5e93\u7684\u9879\u76ee\u3002\u7136\u800c\uff0c\u5176\u5bf9Python\u7248\u672c\u7684\u652f\u6301\u76f8\u5bf9\u6ede\u540e\uff0c\u53ef\u80fd\u4e0d\u652f\u6301\u6700\u65b0\u7684Python\u7279\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5e94\u7528\u573a\u666f\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u5728\u9009\u62e9Python\u4e0eJava\u96c6\u6210\u7684\u65b9\u6848\u65f6\uff0c\u5e94\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u9700\u6c42\u505a\u51fa\u51b3\u7b56\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u8003\u8651\u56e0\u7d20\uff1a<\/p>\n<\/p>\n<p><h4>1. \u6027\u80fd\u8981\u6c42<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u5bf9\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\uff0cJPype\u53ef\u80fd\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u901a\u8fc7JNI\u76f4\u63a5\u8c03\u7528Java\u4ee3\u7801\uff0c\u6027\u80fd\u5f00\u9500\u76f8\u5bf9\u8f83\u5c0f\u3002<\/p>\n<\/p>\n<p><h4>2. \u5206\u5e03\u5f0f\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u9700\u8981\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u8fdb\u884cPython\u4e0eJava\u4ea4\u4e92\u7684\u573a\u666f\uff0cPy4J\u63d0\u4f9b\u7684\u7f51\u7edc\u5316\u901a\u4fe1\u673a\u5236\u53ef\u80fd\u66f4\u4e3a\u5408\u9002\u3002<\/p>\n<\/p>\n<p><h4>3. \u4f7f\u7528\u73b0\u6709Java\u5e93<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5728Python\u4e2d\u5927\u91cf\u4f7f\u7528\u73b0\u6709\u7684Java\u5e93\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u6700\u65b0\u7684Python\u7279\u6027\uff0cJython\u662f\u4e00\u4e2a\u7406\u60f3\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><h4>4. \u5f00\u53d1\u4e0e\u7ef4\u62a4<\/h4>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u96c6\u6210\u65b9\u6848\u65f6\uff0c\u8fd8\u9700\u8003\u8651\u5f00\u53d1\u7684\u6613\u7528\u6027\u548c\u7ef4\u62a4\u6210\u672c\u3002JPype\u7531\u4e8e\u5176\u7b80\u5355\u7684API\u548c\u5e7f\u6cdb\u7684\u793e\u533a\u652f\u6301\uff0c\u901a\u5e38\u66f4\u6613\u4e8e\u5b66\u4e60\u548c\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3\u4e0e\u5c55\u671b<\/h3>\n<\/p>\n<p><p>Python\u4e0eJava\u7684\u96c6\u6210\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u91cd\u8981\u89d2\u8272\u3002\u65e0\u8bba\u662f\u901a\u8fc7JPype\u3001Py4J\u8fd8\u662fJython\uff0c\u6bcf\u79cd\u65b9\u6848\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u548c\u9002\u7528\u573a\u666f\u3002\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u80fd\u591f\u5927\u5927\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u7cfb\u7edf\u6027\u80fd\u3002\u968f\u7740\u6280\u672f\u7684\u53d1\u5c55\uff0c\u672a\u6765\u53ef\u80fd\u4f1a\u51fa\u73b0\u66f4\u591a\u66f4\u9ad8\u6548\u7684\u96c6\u6210\u5de5\u5177\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u66f4\u4e3a\u4fbf\u6377\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8c03\u7528Java\u4ee3\u7801\uff1f<\/strong><br \/>\u5728Python\u4e2d\u8c03\u7528Java\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528JPype\u548cPy4J\u5e93\u3002JPype\u5141\u8bb8Python\u4ee3\u7801\u76f4\u63a5\u8c03\u7528Java\u7c7b\u548c\u65b9\u6cd5\uff0c\u800cPy4J\u5219\u901a\u8fc7\u7f51\u7edc\u8fdb\u884c\u901a\u4fe1\uff0c\u9002\u5408\u4e8e\u5728\u4e0d\u540c\u7684\u8fdb\u7a0b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\u3002<\/p>\n<p><strong>\u8c03\u7528Java\u7a0b\u5e8f\u65f6\u9700\u8981\u8003\u8651\u54ea\u4e9b\u914d\u7f6e\uff1f<\/strong><br \/>\u5728\u8c03\u7528Java\u7a0b\u5e8f\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fddJava\u73af\u5883\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\uff0c\u5e76\u4e14\u76f8\u5173\u7684Java\u7c7b\u8def\u5f84\u5df2\u88ab\u8bbe\u7f6e\u3002\u5bf9\u4e8e\u4f7f\u7528JPype\uff0c\u7528\u6237\u9700\u8981\u6307\u5b9aJava\u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u800c\u5bf9\u4e8ePy4J\uff0c\u5219\u9700\u8981\u5728Python\u73af\u5883\u4e2d\u542f\u52a8\u4e00\u4e2aJava GatewayServer\uff0c\u786e\u4fdd\u4e24\u8005\u80fd\u591f\u6b63\u5e38\u901a\u4fe1\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u8c03\u7528Java\u6027\u80fd\u8868\u73b0\u5982\u4f55\uff1f<\/strong><br \/>\u6027\u80fd\u8868\u73b0\u5f80\u5f80\u53d7\u5230\u591a\u79cd\u56e0\u7d20\u7684\u5f71\u54cd\uff0c\u5305\u62ec\u6570\u636e\u4f20\u8f93\u7684\u590d\u6742\u6027\u3001Java\u7c7b\u7684\u8c03\u7528\u9891\u7387\u7b49\u3002JPype\u4e00\u822c\u80fd\u591f\u63d0\u4f9b\u8f83\u9ad8\u7684\u6027\u80fd\uff0c\u56e0\u4e3a\u5b83\u5141\u8bb8Python\u548cJava\u4e4b\u95f4\u7684\u76f4\u63a5\u8c03\u7528\uff0c\u800cPy4J\u53ef\u80fd\u4f1a\u56e0\u4e3a\u7f51\u7edc\u901a\u4fe1\u800c\u7a0d\u5fae\u964d\u4f4e\u6027\u80fd\u3002\u5bf9\u4e8e\u9700\u8981\u9891\u7e41\u8c03\u7528Java\u529f\u80fd\u7684\u5e94\u7528\uff0cJPype\u53ef\u80fd\u662f\u66f4\u4f18\u7684\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8c03\u7528Java\u8bed\u8a00\uff0c\u5305\u62ec\u4f7f\u7528JPype\u3001Py4J\u3001Jython\u7b49\u5de5\u5177\u3002\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86 [&hellip;]","protected":false},"author":3,"featured_media":957644,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/957636"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=957636"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/957636\/revisions"}],"predecessor-version":[{"id":957646,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/957636\/revisions\/957646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/957644"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=957636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=957636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=957636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}