{"id":275491,"date":"2024-05-16T14:29:00","date_gmt":"2024-05-16T06:29:00","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/275491.html"},"modified":"2024-05-16T14:29:09","modified_gmt":"2024-05-16T06:29:09","slug":"java-%e9%a1%b9%e7%9b%ae%e6%80%8e%e4%b9%88%e6%9f%a5%e6%89%be%e5%ad%97%e7%ac%a6%e4%b8%b2%e4%b8%ad%e7%9a%84%e6%89%80%e6%9c%89%e6%95%b0%e5%ad%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/275491.html","title":{"rendered":"java \u9879\u76ee\u600e\u4e48\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24200418\/cd46707b-e67b-4c8b-97c4-f42eca19c3ee.webp\" alt=\"java \u9879\u76ee\u600e\u4e48\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\" \/><\/p>\n<p><p>\u5728Java\u9879\u76ee\u4e2d\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\uff0c<strong>\u4e3b\u8981\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u7b26\u904d\u5386\u3001Stream API<\/strong> \u7b49\u65b9\u6cd5\u5b9e\u73b0\u3002\u5728\u8fd9\u4e9b\u65b9\u6cd5\u4e2d\uff0c<strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong> \u7531\u4e8e\u5176\u5f3a\u5927\u7684\u6587\u672c\u5339\u914d\u80fd\u529b\uff0c\u662f\u4e00\u79cd\u6548\u7387\u76f8\u5bf9\u8f83\u9ad8\u4e14\u4f7f\u7528\u5e7f\u6cdb\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u80fd\u591f\u5339\u914d\u6570\u5b57\u6a21\u5f0f\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5e76\u5229\u7528Java\u63d0\u4f9b\u7684Pattern\u548cMatcher\u7c7b\u6765\u641c\u7d22\u548c\u63d0\u53d6\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\u4fe1\u606f\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u4e0d\u4ec5\u80fd\u591f\u7b80\u5316\u4ee3\u7801\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u800c\u4e14\u5177\u6709\u5f88\u5f3a\u7684\u7075\u6d3b\u6027\u548c\u6269\u5c55\u6027\uff0c\u80fd\u591f\u6709\u6548\u5730\u5904\u7406\u590d\u6742\u7684\u6587\u672c\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u5728Java\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u6765\u5339\u914d\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u6d89\u53ca\u5230\u4f7f\u7528Java\u7684Pattern\u548cMatcher\u7c7b\u3002<\/p>\n<\/p>\n<p><p><strong>\u9996\u5148\uff0c\u5b9a\u4e49\u4e00\u4e2a\u80fd\u591f\u5339\u914d\u6570\u5b57\u7684\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong>\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f &quot;\\d+&quot; \u80fd\u591f\u5339\u914d\u4efb\u4f55\u957f\u5ea6\u7684\u6570\u5b57\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-java\">String text = &quot;Java 8 introduced lambda expressions in 2014.&quot;;<\/p>\n<p>Pattern pattern = Pattern.compile(&quot;\\\\d+&quot;);<\/p>\n<p>Matcher matcher = pattern.matcher(text);<\/p>\n<p>while (matcher.find()) {<\/p>\n<p>    System.out.println(matcher.group());<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>\\\\d+<\/code> \u662f\u7528\u4e8e\u5339\u914d\u4e00\u4e2a\u6216\u591a\u4e2a\u6570\u5b57\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u3002<code>Pattern.compile(&quot;\\\\d+&quot;)<\/code> \u521b\u5efa\u4e86\u4e00\u4e2aPattern\u5bf9\u8c61\uff0c\u4e4b\u540e\u4f7f\u7528\u8be5\u5bf9\u8c61\u7684matcher\u65b9\u6cd5\u6765\u521b\u5efa\u4e00\u4e2aMatcher\u5bf9\u8c61\uff0c\u5b83\u7528\u4e8e\u5728\u6307\u5b9a\u7684\u6587\u672c\u4e2d\u67e5\u627e\u5339\u914d\u9879\u3002<code>matcher.find()<\/code> \u65b9\u6cd5\u904d\u5386\u6587\u672c\uff0c\u67e5\u627e\u4e0e\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u7684\u90e8\u5206\u3002\u6bcf\u5f53\u627e\u5230\u5339\u914d\u9879\u65f6\uff0c<code>matcher.group()<\/code> \u65b9\u6cd5\u4f1a\u8fd4\u56de\u5f53\u524d\u627e\u5230\u7684\u5339\u914d\u5185\u5bb9\uff0c\u5373\u6570\u5b57\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u901a\u8fc7\u5b57\u7b26\u904d\u5386<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5224\u65ad\u5176\u662f\u5426\u4e3a\u6570\u5b57\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-java\">String text = &quot;Java 8 introduced lambda expressions in 2014.&quot;;<\/p>\n<p>StringBuilder number = new StringBuilder();<\/p>\n<p>for(char ch : text.toCharArray()) {<\/p>\n<p>    if(Character.isDigit(ch)) {<\/p>\n<p>        number.append(ch);<\/p>\n<p>    } else if(number.length() &gt; 0) {<\/p>\n<p>        System.out.println(number.toString());<\/p>\n<p>        number = new StringBuilder(); \/\/ Reset for the next number<\/p>\n<p>    }<\/p>\n<p>}<\/p>\n<p>if(number.length() &gt; 0) { \/\/ Check if the last part of the string is a number<\/p>\n<p>    System.out.println(number.toString());<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u901a\u8fc7\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u4f7f\u7528<code>Character.isDigit(char ch)<\/code>\u65b9\u6cd5\u5224\u65ad\u5f53\u524d\u5b57\u7b26\u662f\u5426\u4e3a\u6570\u5b57\u3002\u5982\u679c\u662f\u6570\u5b57\uff0c\u5219\u6dfb\u52a0\u5230\u4e00\u4e2aStringBuilder\u5bf9\u8c61\u4e2d\u3002\u5f53\u9047\u5230\u975e\u6570\u5b57\u5b57\u7b26\u65f6\uff0c\u5982\u679cStringBuilder\u5bf9\u8c61\u4e2d\u7d2f\u79ef\u4e86\u6570\u5b57\u5b57\u7b26\uff0c\u5c31\u5c06\u5176\u8f93\u51fa\uff0c\u5e76\u91cd\u7f6eStringBuilder\u5bf9\u8c61\uff0c\u51c6\u5907\u4e0b\u4e00\u8f6e\u6570\u5b57\u7684\u68c0\u6d4b\u548c\u7d2f\u79ef\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5229\u7528Stream API<\/h3>\n<\/p>\n<p><p>Java 8 \u5f15\u5165\u7684Stream API\u540c\u6837\u53ef\u4ee5\u7528\u4e8e\u4ece\u5b57\u7b26\u4e32\u4e2d\u63d0\u53d6\u6240\u6709\u7684\u6570\u5b57\uff0c\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u5f62\u6210\u4e00\u79cd\u66f4\u4e3a\u73b0\u4ee3\u548c\u51fd\u6570\u5f0f\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-java\">String text = &quot;Java 8 introduced lambda expressions in 2014.&quot;;<\/p>\n<p>Arrays.stream(text.split(&quot;\\\\D+&quot;)) \/\/ Split by non-digit characters<\/p>\n<p>      .filter(s -&gt; !s.isEmpty())   \/\/ Filter out empty strings<\/p>\n<p>      .forEach(System.out::println);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\u4f7f\u7528\u4e86<code>split(&quot;\\\\D+&quot;)<\/code>\u65b9\u6cd5\u6309\u7167\u975e\u6570\u5b57\u5b57\u7b26\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u5206\u5272\uff0c\u5f97\u5230\u4e00\u4e2a\u5305\u542b\u6240\u6709\u6570\u5b57\u5b57\u7b26\u4e32\u7684\u6570\u7ec4\u3002\u7136\u540e\u901a\u8fc7Stream API\u5bf9\u6570\u7ec4\u8fdb\u884c\u6d41\u5f0f\u5904\u7406\uff0c\u8fc7\u6ee4\u6389\u6240\u6709\u7a7a\u5b57\u7b26\u4e32\uff08\u8fd9\u53ef\u80fd\u5728\u5206\u5272\u8fc7\u7a0b\u4e2d\u751f\u6210\uff09\uff0c\u6700\u540e\u5c06\u5269\u4f59\u7684\u5b57\u7b26\u4e32\uff08\u5373\u6240\u6709\u7684\u6570\u5b57\u4e32\uff09\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u7efc\u5408\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u56e0\u5176\u5f3a\u5927\u7684\u6a21\u5f0f\u5339\u914d\u80fd\u529b\uff0c\u5728\u5904\u7406\u590d\u6742\u6587\u672c\u65f6\u8868\u73b0\u51fa\u8272\uff1b\u5b57\u7b26\u904d\u5386\u65b9\u6cd5\u7531\u4e8e\u5176\u7b80\u5355\u76f4\u89c2\uff0c\u5728\u4e00\u4e9b\u4e0d\u9700\u8981\u590d\u6742\u5339\u914d\u89c4\u5219\u7684\u573a\u666f\u4e0b\u66f4\u4e3a\u9002\u7528\uff1b\u800cStream API\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u52a0\u73b0\u4ee3\u548c\u58f0\u660e\u5f0f\u7684\u5904\u7406\u65b9\u5f0f\uff0c\u7279\u522b\u9002\u5408\u9700\u8981\u94fe\u5f0f\u8c03\u7528\u5904\u7406\u6d41\u6570\u636e\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u5173\u952e\u662f\u7406\u89e3\u5176\u80cc\u540e\u7684\u539f\u7406\u548c\u9002\u7528\u573a\u666f\uff0c\u8fd9\u5c06\u6709\u52a9\u4e8e\u5f00\u53d1\u51fa\u65e2\u9ad8\u6548\u53c8\u6613\u4e8e\u7ef4\u62a4\u7684\u4ee3\u7801\u3002\u5728\u5904\u7406\u5305\u542b\u5927\u91cf\u6570\u636e\u7684\u9879\u76ee\u65f6\uff0c\u6b63\u786e\u9009\u62e9\u548c\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\u5c06\u663e\u5f97\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728 Java \u9879\u76ee\u4e2d\u627e\u5230\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5728 Java \u9879\u76ee\u4e2d\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u548c Java \u4e2d\u7684\u5b57\u7b26\u4e32\u5904\u7406\u65b9\u6cd5\u3002<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5339\u914d\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 <code>\\\\d+<\/code> \u6765\u5339\u914d\u4e00\u4e2a\u6216\u591a\u4e2a\u8fde\u7eed\u7684\u6570\u5b57\u3002\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 Java \u4e2d\u7684 <code>Pattern<\/code> \u548c <code>Matcher<\/code> \u7c7b\u6765\u8fdb\u884c\u5339\u914d\u64cd\u4f5c\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-java\">import java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npublic class M<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n {\n    public static void main(String[] args) {\n        String str = &quot;abc123xyz456&quot;;\n\n        Pattern pattern = Pattern.compile(&quot;\\\\d+&quot;);\n        Matcher matcher = pattern.matcher(str);\n\n        while (matcher.find()) {\n            System.out.println(matcher.group());\n        }\n    }\n}\n<\/code><\/pre>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4f1a\u8f93\u51fa\u5b57\u7b26\u4e32 <code>str<\/code> \u4e2d\u7684\u6240\u6709\u6570\u5b57\uff0c\u5373 <code>123<\/code> \u548c <code>456<\/code>\u3002<\/p>\n<p><strong>2. \u5728 Java \u9879\u76ee\u4e2d\uff0c\u5982\u4f55\u5feb\u901f\u627e\u5230\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5feb\u901f\u627e\u5230\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 Java 8 \u5f15\u5165\u7684 <code>stream<\/code> API \u548c\u6b63\u5219\u8868\u8fbe\u5f0f\u3002<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5b57\u7b26\u6570\u7ec4\uff0c\u5e76\u4f7f\u7528 <code>stream<\/code> API \u8fdb\u884c\u5904\u7406\u3002\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5224\u65ad\u6bcf\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u6570\u5b57\uff0c\u5e76\u5c06\u5176\u6536\u96c6\u5230\u4e00\u4e2a\u5217\u8868\u4e2d\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-java\">import java.util.Arrays;\nimport java.util.List;\nimport java.util.regex.Pattern;\nimport java.util.stream.Collectors;\n\npublic class Main {\n    public static void main(String[] args) {\n        String str = &quot;abc123xyz456&quot;;\n\n        List&lt;String&gt; numbers = Arrays.stream(str.split(&quot;&quot;))\n                .filter(s -&gt; Pattern.matches(&quot;\\\\d&quot;, s))\n                .collect(Collectors.toList());\n\n        System.out.println(numbers);\n    }\n}\n<\/code><\/pre>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4f1a\u8f93\u51fa\u5b57\u7b26\u4e32 <code>str<\/code> \u4e2d\u7684\u6240\u6709\u6570\u5b57\uff0c\u5373 <code>[1, 2, 3, 4, 5, 6]<\/code>\u3002<\/p>\n<p><strong>3. \u5728 Java \u9879\u76ee\u4e2d\uff0c\u6709\u6ca1\u6709\u73b0\u6210\u7684\u5de5\u5177\u7c7b\u53ef\u4ee5\u7528\u6765\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\uff1f<\/strong><\/p>\n<p>\u662f\u7684\uff0c\u5728 Java \u9879\u76ee\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 Apache Commons Lang \u5de5\u5177\u5305\u4e2d\u7684 <code>StringUtils<\/code> \u7c7b\u6765\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u5b57\u3002<\/p>\n<p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5c06 Apache Commons Lang \u5de5\u5177\u5305\u6dfb\u52a0\u5230\u4f60\u7684\u9879\u76ee\u4e2d\u3002\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 <code>StringUtils<\/code> \u7c7b\u4e2d\u7684 <code>isNumeric()<\/code> \u65b9\u6cd5\u6765\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u6570\u5b57\uff0c\u5e76\u4f7f\u7528 <code>StringUtils<\/code> \u7c7b\u4e2d\u7684 <code>getDigits()<\/code> \u65b9\u6cd5\u6765\u83b7\u53d6\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-java\">import org.apache.commons.lang3.StringUtils;\n\npublic class Main {\n    public static void main(String[] args) {\n        String str = &quot;abc123xyz456&quot;;\n\n        String[] digits = StringUtils.getDigits(str);\n\n        for (String digit : digits) {\n            System.out.println(digit);\n        }\n    }\n}\n<\/code><\/pre>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u4f1a\u8f93\u51fa\u5b57\u7b26\u4e32 <code>str<\/code> \u4e2d\u7684\u6240\u6709\u6570\u5b57\uff0c\u5373 <code>123<\/code> \u548c <code>456<\/code>\u3002\u6ce8\u610f\uff0c<code>StringUtils.getDigits()<\/code> \u65b9\u6cd5\u5c06\u8fd4\u56de\u4e00\u4e2a <code>String<\/code> \u6570\u7ec4\uff0c\u5176\u4e2d\u6bcf\u4e2a\u5143\u7d20\u90fd\u662f\u4e00\u4e2a\u6570\u5b57\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Java\u9879\u76ee\u4e2d\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u6570\u5b57\uff0c\u4e3b\u8981\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u7b26\u904d\u5386\u3001Stream API \u7b49\u65b9\u6cd5\u5b9e\u73b0\u3002\u5728\u8fd9\u4e9b [&hellip;]","protected":false},"author":3,"featured_media":275503,"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\/275491"}],"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=275491"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/275491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/275503"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=275491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=275491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=275491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}