{"id":198745,"date":"2024-05-10T00:32:11","date_gmt":"2024-05-09T16:32:11","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/198745.html"},"modified":"2024-05-10T00:32:18","modified_gmt":"2024-05-09T16:32:18","slug":"%e5%a4%a7%e8%af%9d%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84%e4%b8%80%e4%b9%a6%e4%b8%adkmp%e7%ae%97%e6%b3%95%e6%98%af%e5%a6%82%e4%bd%95%e8%ae%a1%e7%ae%97next%e6%95%b0%e7%bb%84%e7%9a%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/198745.html","title":{"rendered":"\u5927\u8bdd\u6570\u636e\u7ed3\u6784\u4e00\u4e66\u4e2dKMP\u7b97\u6cd5\u662f\u5982\u4f55\u8ba1\u7b97next\u6570\u7ec4\u7684"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24140455\/dfa5cb7e-7f0c-4554-8a4c-3f89521953a8.webp\" alt=\"\u5927\u8bdd\u6570\u636e\u7ed3\u6784\u4e00\u4e66\u4e2dKMP\u7b97\u6cd5\u662f\u5982\u4f55\u8ba1\u7b97next\u6570\u7ec4\u7684\" \/><\/p>\n<p><p><strong>\u5927\u8bdd\u6570\u636e\u7ed3\u6784<\/strong>\u4e00\u4e66\u4e2d\u7684<strong>KMP\u7b97\u6cd5\u8ba1\u7b97next\u6570\u7ec4<\/strong>\u7684\u6838\u5fc3\u5728\u4e8e\uff0c\u5229\u7528\u5df2\u5339\u914d\u7684\u90e8\u5206\u4fe1\u606f\uff0c\u627e\u51fa<strong>\u6a21\u5f0f\u5b57\u7b26\u4e32<\/strong>\u4e2d\u7684\u6700\u957f\u5bf9\u79f0\u524d\u540e\u7f00\u957f\u5ea6\uff0c\u4ee5\u6b64\u907f\u514d\u91cd\u590d\u5339\u914d\uff0c\u63d0\u9ad8\u641c\u7d22\u6548\u7387\u3002\u6838\u5fc3\u89c2\u70b9\u5305\u62ec<strong>\u6a21\u5f0f\u5b57\u7b26\u4e32\u524d\u540e\u7f00\u6982\u5ff5\u7684\u7406\u89e3\u3001next\u6570\u7ec4\u7684\u6784\u5efa\u8fc7\u7a0b\u3001\u53ca\u5176\u5728\u5b57\u7b26\u4e32\u5339\u914d\u4e2d\u7684\u5e94\u7528<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u6a21\u5f0f\u5b57\u7b26\u4e32\u524d\u540e\u7f00\u6982\u5ff5\u7684\u7406\u89e3<\/strong>\u662f\u57fa\u7840\uff0c\u6307\u7684\u662f\u5728\u6a21\u5f0f\u5b57\u7b26\u4e32\u4e2d\uff0c\u957f\u5ea6\u5c0f\u4e8e\u6a21\u5f0f\u5b57\u7b26\u4e32\u7684\u6240\u6709\u524d\u7f00\u548c\u5bf9\u5e94\u540e\u7f00\u7684\u96c6\u5408\u3002\u8fd9\u4e00\u6982\u5ff5\u5728\u7406\u89e3<strong>\u5982\u4f55\u8ba1\u7b97next\u6570\u7ec4<\/strong>\u4e2d\u8d77\u5230\u4e86\u51b3\u5b9a\u6027\u7684\u4f5c\u7528\u3002<\/p>\n<\/p>\n<p><h2><strong>\u4e00\u3001\u6a21\u5f0f\u5b57\u7b26\u4e32\u524d\u540e\u7f00\u6982\u5ff5<\/strong><\/h2>\n<\/p>\n<p><p>\u6a21\u5f0f\u5b57\u7b26\u4e32\u7684\u524d\u540e\u7f00\u6982\u5ff5\u662f\u7406\u89e3KMP\u7b97\u6cd5\u7684\u57fa\u7840\u3002\u5728\u6a21\u5f0f\u5b57\u7b26\u4e32\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u8bc6\u522b\u51fa\u6240\u6709\u53ef\u80fd\u7684\u524d\u7f00\u548c\u5bf9\u5e94\u7684\u540e\u7f00\uff0c\u7136\u540e\u627e\u51fa\u6700\u957f\u7684\u3001\u80fd\u591f\u5339\u914d\u7684\u524d\u540e\u7f00\u957f\u5ea6\u3002\u8fd9\u4e2a\u957f\u5ea6\u5c31\u662fnext\u6570\u7ec4\u4e2d\u76f8\u5e94\u4f4d\u7f6e\u7684\u503c\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u5bf9\u4e8e\u6a21\u5f0f\u5b57\u7b26\u4e32&quot;ABCDAB&quot;\uff0c\u4f4d\u7f6e6\u7684\u5b57\u7b26\u662f&quot;B&quot;\uff0c\u90a3\u4e48\u5b83\u4e4b\u524d\u7684\u5b57\u7b26\u4e32&quot;ABCDAB&quot;\u7684\u524d\u7f00\u6709&quot;A&quot;\u3001&quot;AB&quot;\u3001&quot;ABC&quot;\u3001&quot;ABCD&quot;\u3001&quot;ABCDA&quot;\uff0c\u76f8\u5e94\u7684\u540e\u7f00\u5219\u662f&quot;B&quot;\u3001&quot;AB&quot;\u3001&quot;CAB&quot;\u3001&quot;DCAB&quot;\u3001&quot;CDCAB&quot;\u3002\u5728\u8fd9\u4e9b\u524d\u540e\u7f00\u4e2d\uff0c&quot;AB&quot;\u662f\u6700\u957f\u7684\u4e00\u5bf9\u5339\u914d\u7684\u524d\u540e\u7f00\uff0c\u56e0\u6b64next[6] = 2\u3002<\/p>\n<\/p>\n<p><h2><strong>\u4e8c\u3001NEXT\u6570\u7ec4\u7684\u6784\u5efa\u8fc7\u7a0b<\/strong><\/h2>\n<\/p>\n<p><p>\u5728\u7406\u89e3\u4e86\u6a21\u5f0f\u5b57\u7b26\u4e32\u7684\u524d\u540e\u7f00\u4e4b\u540e\uff0c\u6784\u5efanext\u6570\u7ec4\u7684\u8fc7\u7a0b\u5c31\u662f\u4e00\u4e2a\u9010\u6b65\u8fed\u4ee3\uff0c\u5bfb\u627e\u6bcf\u4e2a\u4f4d\u7f6e\u4e0a\u6700\u957f\u5bf9\u79f0\u524d\u540e\u7f00\u957f\u5ea6\u7684\u8fc7\u7a0b\u3002KMP\u7b97\u6cd5\u901a\u8fc7next\u6570\u7ec4\uff0c\u4f7f\u5f97\u5728\u5b57\u7b26\u4e0d\u5339\u914d\u65f6\uff0c\u53ef\u4ee5\u5c06\u6a21\u5f0f\u5b57\u7b26\u4e32\u5411\u53f3\u9002\u5f53\u6ed1\u52a8\uff0c\u8df3\u8fc7\u90a3\u4e9b\u5df2\u77e5\u80af\u5b9a\u4e0d\u4f1a\u5339\u914d\u7684\u90e8\u5206\u3002<\/p>\n<\/p>\n<ol>\n<li>\u521d\u59cb\u5316next\u6570\u7ec4\uff1a\u4e00\u822c\u5c06next[0]\u8bbe\u4e3a-1\u3002-1\u7684\u542b\u4e49\u5728\u4e8e\uff0c\u5f53\u6a21\u5f0f\u5b57\u7b26\u4e32\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26\u5c31\u4e0d\u5339\u914d\u65f6\uff0c\u4e3b\u5b57\u7b26\u4e32\u6307\u9488\u56de\u9000\u540e\uff0c\u6a21\u5f0f\u5b57\u7b26\u4e32\u6307\u9488\u5e94\u8be5\u56de\u5230\u8d77\u59cb\u4f4d\u7f6e\u3002<\/li>\n<li>\u9012\u63a8\u8ba1\u7b97next\u503c\uff1a\u4ecenext[1]\u5f00\u59cb\u8ba1\u7b97\uff0c\u5047\u8bbe\u5f53\u524d\u8ba1\u7b97\u5230next[j]\uff0c\u6211\u4eec\u5229\u7528\u5df2\u7ecf\u8ba1\u7b97\u51fa\u7684next\u6570\u7ec4\u7684\u503c\uff0c\u56de\u6eaf\u67e5\u627ej\u4e4b\u524d\u6700\u957f\u5339\u914d\u7684\u524d\u540e\u7f00\u3002\u5982\u679c\u627e\u5230\uff0c\u5219next[j]\u7b49\u4e8e\u6700\u957f\u5339\u914d\u524d\u7f00\u7684\u957f\u5ea6\u52a01\uff1b\u5982\u679c\u6ca1\u6709\u627e\u5230\uff0c\u5219next[j]\u4e3a0\u3002<\/li>\n<\/ol>\n<p><p><strong>\u5728\u8ba1\u7b97\u8fc7\u7a0b\u4e2d\uff0c\u5229\u7528\u5df2\u8ba1\u7b97\u7684next\u503c\u53ef\u4ee5\u5927\u5927\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u6bd4\u5bf9\uff0c\u63d0\u9ad8\u6548\u7387<\/strong>\u3002<\/p>\n<\/p>\n<p><h2><strong>\u4e09\u3001NEXT\u6570\u7ec4\u5728\u5b57\u7b26\u4e32\u5339\u914d\u4e2d\u7684\u5e94\u7528<\/strong><\/h2>\n<\/p>\n<p><p>next\u6570\u7ec4\u7684\u51fa\u73b0\u6781\u5927\u63d0\u5347\u4e86KMP\u7b97\u6cd5\u7684\u6548\u7387\u3002\u5728\u8fdb\u884c\u5b57\u7b26\u4e32\u5339\u914d\u65f6\uff0c\u5f53\u6a21\u5f0f\u5b57\u7b26\u4e32\u4e0e\u4e3b\u5b57\u7b26\u4e32\u67d0\u5b57\u7b26\u4e0d\u5339\u914d\u65f6\uff0c\u53ef\u4ee5\u5229\u7528next\u6570\u7ec4\u4e2d\u8bb0\u5f55\u7684\u4fe1\u606f\uff0c\u5c06\u6a21\u5f0f\u5b57\u7b26\u4e32\u5411\u53f3\u6ed1\u52a8\u5230\u6070\u5f53\u7684\u4f4d\u7f6e\u7ee7\u7eed\u5339\u914d\u3002<\/p>\n<\/p>\n<ul>\n<li>\u5f53\u5b57\u7b26\u4e0d\u5339\u914d\u65f6\uff0c\u4e3b\u5b57\u7b26\u4e32\u7684\u6307\u9488\u4fdd\u6301\u4e0d\u52a8\uff0c\u6a21\u5f0f\u5b57\u7b26\u4e32\u7684\u6307\u9488\u5219\u6839\u636enext\u6570\u7ec4\u7684\u503c\u56de\u9000\u3002<\/li>\n<li>\u8fd9\u610f\u5473\u7740\u4e0d\u5fc5\u5c06\u6a21\u5f0f\u5b57\u7b26\u4e32\u5b8c\u5168\u56de\u9000\u5230\u8d77\u59cb\u4f4d\u7f6e\uff0c\u800c\u662f\u8df3\u8fc7\u4e86\u5df2\u77e5\u7684\u4e0d\u5339\u914d\u90e8\u5206\uff0c\u4ece\u800c\u8fbe\u5230\u5feb\u901f\u5339\u914d\u7684\u76ee\u7684\u3002<\/li>\n<\/ul>\n<p><p><strong>\u901a\u8fc7\u5229\u7528\u6a21\u5f0f\u5b57\u7b26\u4e32\u4e2d\u7684\u91cd\u590d\u4fe1\u606f\uff0cKMP\u7b97\u6cd5\u5927\u5927\u51cf\u5c11\u4e86\u65e0\u6548\u7684\u5339\u914d\u5c1d\u8bd5\uff0c\u63d0\u9ad8\u4e86\u5339\u914d\u7684\u6548\u7387<\/strong>\u3002<\/p>\n<\/p>\n<p><h2><strong>\u56db\u3001\u5b9e\u4f8b\u5206\u6790<\/strong><\/h2>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u6e05\u6670\u5730\u7406\u89e3KMP\u7b97\u6cd5\u8ba1\u7b97next\u6570\u7ec4\u7684\u8fc7\u7a0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5177\u4f53\u7684\u5b9e\u4f8b\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<\/p>\n<p><p>\u4ee5&quot;ABCDABD&quot;\u4e3a\u4f8b\u3002\u5bf9\u4e8e\u8fd9\u4e2a\u6a21\u5f0f\u5b57\u7b26\u4e32\uff0c\u6211\u4eec\u9010\u4e2a\u8ba1\u7b97next\u6570\u7ec4\u7684\u5404\u4e2a\u503c\u3002<\/p>\n<\/p>\n<ul>\n<li>\u5bf9\u4e8e\u7b2c\u4e00\u4e2a\u5b57\u7b26&quot;A&quot;\uff0c\u7531\u4e8e\u524d\u9762\u6ca1\u6709\u5b57\u7b26\uff0c\u6240\u4ee5next[0]=-1\u3002<\/li>\n<li>\u5bf9\u4e8e\u7b2c\u4e8c\u4e2a\u5b57\u7b26&quot;B&quot;\uff0c\u7531\u4e8e&quot;B&quot;\u524d\u9762\u53ea\u6709&quot;A&quot;\uff0c\u4e14&quot;A&quot;\u548c&quot;B&quot;\u4e0d\u76f8\u7b49\uff0c\u6240\u4ee5next[1]=0\u3002<\/li>\n<li>\u5f53\u8ba1\u7b97\u5230\u7b2c\u516d\u4e2a\u5b57\u7b26&quot;B&quot;\u65f6\uff0c\u524d\u9762\u7684\u5b57\u7b26\u4e32\u662f&quot;ABCDAB&quot;\u3002\u6211\u4eec\u53d1\u73b0\uff0c\u524d\u9762\u6709&quot;AB&quot;\u8fd9\u6837\u7684\u524d\u540e\u7f00\u5339\u914d\uff0c\u56e0\u6b64next[5]=2\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u9010\u6b65\u6784\u5efa\u51fa\u6574\u4e2anext\u6570\u7ec4\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4f53\u73b0\u4e86KMP\u7b97\u6cd5\u7684\u7cbe\u9ad3\uff1a\u5229\u7528\u6a21\u5f0f\u5b57\u7b26\u4e32\u5185\u90e8\u7684\u91cd\u590d\u4fe1\u606f\uff0c\u907f\u514d\u65e0\u610f\u4e49\u7684\u5339\u914d\uff0c\u4ece\u800c\u52a0\u901f\u641c\u7d22\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><p><strong>\u603b\u7684\u6765\u8bf4\uff0cKMP\u7b97\u6cd5\u4e2d\u8ba1\u7b97next\u6570\u7ec4\u7684\u8fc7\u7a0b\u662f\u5176\u6838\u5fc3\u7b97\u6cd5\u4e4b\u4e00\uff0c\u901a\u8fc7\u7cbe\u5999\u5730\u5229\u7528\u6a21\u5f0f\u5b57\u7b26\u4e32\u7684\u5185\u90e8\u7ed3\u6784\u4fe1\u606f\uff0c\u4ee5\u5b9e\u73b0\u9ad8\u6548\u7684\u5b57\u7b26\u4e32\u5339\u914d<\/strong>\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>Q\uff1a\u5927\u8bdd\u6570\u636e\u7ed3\u6784\u4e2dKMP\u7b97\u6cd5\u5982\u4f55\u8ba1\u7b97next\u6570\u7ec4\uff1f<\/strong><\/p>\n<p>A\uff1a\u5728\u5927\u8bdd\u6570\u636e\u7ed3\u6784\u8fd9\u672c\u4e66\u4e2d\uff0cKMP\u7b97\u6cd5\u8ba1\u7b97next\u6570\u7ec4\u7684\u65b9\u6cd5\u5982\u4e0b\uff1a\u9996\u5148\uff0c\u521d\u59cb\u5316next\u6570\u7ec4\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u4e3a-1\uff0c\u7b2c\u4e8c\u4e2a\u5143\u7d20\u4e3a0\u3002\u7136\u540e\uff0c\u4ece\u7b2c\u4e09\u4e2a\u5143\u7d20\u5f00\u59cb\u904d\u5386\u76ee\u6807\u5b57\u7b26\u4e32\uff0c\u5bf9\u6bcf\u4e2a\u5143\u7d20\u8fdb\u884c\u5224\u65ad\u3002\u5982\u679c\u524d\u4e00\u4e2a\u5143\u7d20\u4e0e\u5f53\u524d\u5143\u7d20\u76f8\u7b49\uff0c\u5219\u5c06next\u6570\u7ec4\u5f53\u524d\u4f4d\u7f6e\u7684\u503c\u8bbe\u4e3a\u524d\u4e00\u4e2a\u4f4d\u7f6e\u7684\u503c\u52a01\uff1b\u5982\u679c\u4e0d\u76f8\u7b49\uff0c\u5219\u9700\u8981\u56de\u6eaf\u5230\u524d\u4e00\u4e2a\u4f4d\u7f6e\uff0c\u5c06\u524d\u4e00\u4e2a\u4f4d\u7f6e\u7684\u503c\u8d4b\u7ed9\u5f53\u524d\u4f4d\u7f6e\uff0c\u5e76\u7ee7\u7eed\u5224\u65ad\u3002\u91cd\u590d\u4ee5\u4e0a\u6b65\u9aa4\u76f4\u5230\u904d\u5386\u5b8c\u76ee\u6807\u5b57\u7b26\u4e32\u3002\u6700\u540e\uff0c\u5f97\u5230\u7684next\u6570\u7ec4\u5c31\u662fKMP\u7b97\u6cd5\u6240\u9700\u7684\u90e8\u5206\u5339\u914d\u8868\u3002<\/p>\n<p><strong>Q\uff1a\u5982\u4f55\u901a\u8fc7KMP\u7b97\u6cd5\u7684next\u6570\u7ec4\u52a0\u901f\u5b57\u7b26\u4e32\u5339\u914d\u8fc7\u7a0b\uff1f<\/strong><\/p>\n<p>A\uff1a\u901a\u8fc7KMP\u7b97\u6cd5\u7684next\u6570\u7ec4\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5728\u5b57\u7b26\u4e32\u5339\u914d\u8fc7\u7a0b\u4e2d\u7684\u5feb\u901f\u8df3\u8fc7\u3002\u5728\u8fdb\u884c\u5339\u914d\u65f6\uff0c\u5f53\u53d1\u73b0\u5931\u914d\u7684\u5b57\u7b26\u65f6\uff0c\u6839\u636enext\u6570\u7ec4\u4e2d\u7684\u503c\u53ef\u4ee5\u76f4\u63a5\u8df3\u8fc7\u4e00\u5b9a\u7684\u5b57\u7b26\uff0c\u800c\u4e0d\u9700\u8981\u4ece\u5934\u5f00\u59cb\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u5339\u914d\u3002\u8fd9\u662f\u56e0\u4e3anext\u6570\u7ec4\u4e2d\u8bb0\u5f55\u7684\u662f\u6bcf\u4e2a\u5b57\u7b26\u7684\u6700\u957f\u53ef\u5339\u914d\u524d\u7f00\u540e\u7f00\u7684\u957f\u5ea6\uff0c\u53ef\u4ee5\u501f\u6b64\u4fe1\u606f\u8df3\u8fc7\u4e0d\u53ef\u80fd\u5339\u914d\u7684\u90e8\u5206\uff0c\u4ece\u800c\u63d0\u9ad8\u5339\u914d\u6548\u7387\u3002<\/p>\n<p><strong>Q\uff1aKMP\u7b97\u6cd5\u4e2d\u8ba1\u7b97next\u6570\u7ec4\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662f\u591a\u5c11\uff1f<\/strong><\/p>\n<p>A\uff1a\u5728\u5927\u8bdd\u6570\u636e\u7ed3\u6784\u4e00\u4e66\u4e2d\uff0cKMP\u7b97\u6cd5\u8ba1\u7b97next\u6570\u7ec4\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n)\uff0c\u5176\u4e2dn\u4e3a\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u3002\u8fd9\u662f\u56e0\u4e3a\u8ba1\u7b97next\u6570\u7ec4\u9700\u8981\u8fdb\u884c\u4e00\u6b21\u904d\u5386\uff0c\u904d\u5386\u7684\u6b21\u6570\u53d6\u51b3\u4e8e\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\u3002\u5728\u904d\u5386\u8fc7\u7a0b\u4e2d\uff0c\u6bcf\u6b21\u5224\u65ad\u76f8\u90bb\u5b57\u7b26\u662f\u5426\u76f8\u7b49\uff0c\u800c\u5224\u65ad\u76f8\u7b49\u53ea\u9700\u8981\u5e38\u6570\u65f6\u95f4\uff0c\u6240\u4ee5\u6574\u4e2a\u8ba1\u7b97\u8fc7\u7a0b\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3a\u7ebf\u6027\u7684\u3002\u8fd9\u4e5f\u662fKMP\u7b97\u6cd5\u7684\u4e00\u4e2a\u4f18\u52bf\uff0c\u76f8\u8f83\u4e8e\u66b4\u529b\u5339\u914d\u7b97\u6cd5\uff0c\u53ef\u4ee5\u8282\u7701\u5927\u91cf\u7684\u65f6\u95f4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5927\u8bdd\u6570\u636e\u7ed3\u6784\u4e00\u4e66\u4e2d\u7684KMP\u7b97\u6cd5\u8ba1\u7b97next\u6570\u7ec4\u7684\u6838\u5fc3\u5728\u4e8e\uff0c\u5229\u7528\u5df2\u5339\u914d\u7684\u90e8\u5206\u4fe1\u606f\uff0c\u627e\u51fa\u6a21\u5f0f\u5b57\u7b26\u4e32\u4e2d\u7684\u6700\u957f\u5bf9\u79f0\u524d\u540e [&hellip;]","protected":false},"author":3,"featured_media":198754,"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\/198745"}],"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=198745"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/198745\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/198754"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=198745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=198745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=198745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}