{"id":1128836,"date":"2025-01-08T20:24:09","date_gmt":"2025-01-08T12:24:09","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1128836.html"},"modified":"2025-01-08T20:24:11","modified_gmt":"2025-01-08T12:24:11","slug":"%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e5%9c%a8python%e5%ad%97%e7%ac%a6%e4%b8%b2%e6%98%af%e5%90%a6%e6%98%af%e6%95%b0%e5%ad%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1128836.html","title":{"rendered":"\u5982\u4f55\u5224\u65ad\u5728python\u5b57\u7b26\u4e32\u662f\u5426\u662f\u6570\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25095442\/74a919b7-7099-4971-8687-b9b9eb688b36.webp\" alt=\"\u5982\u4f55\u5224\u65ad\u5728python\u5b57\u7b26\u4e32\u662f\u5426\u662f\u6570\u5b57\" \/><\/p>\n<p><p> <strong>\u5224\u65ad\u5728Python\u5b57\u7b26\u4e32\u662f\u5426\u662f\u6570\u5b57\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528<code>str.isdigit()<\/code>\u65b9\u6cd5\u3001\u4f7f\u7528<code>str.isnumeric()<\/code>\u65b9\u6cd5\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4ee5\u53ca\u5c1d\u8bd5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57\u7c7b\u578b\u3002<\/strong>\u5176\u4e2d\uff0c<code>str.isdigit()<\/code>\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u4e14\u6613\u4e8e\u7406\u89e3\u3002\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u76f4\u63a5\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4ec5\u5305\u542b\u6570\u5b57\u5b57\u7b26\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u89e3\u91ca\u6bcf\u79cd\u65b9\u6cd5\u7684\u4f7f\u7528\u573a\u666f\u548c\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<hr>\n<p><h2>\u4e00\u3001\u4f7f\u7528<code>str.isdigit()<\/code>\u65b9\u6cd5<\/h2>\n<\/p>\n<p><p><code>str.isdigit()<\/code>\u65b9\u6cd5\u662f\u6700\u76f4\u63a5\u548c\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u7528\u4e8e\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u6570\u5b57\u5b57\u7b26\u3002\u8fd9\u4e2a\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u5982\u679c\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u5b57\u7b26\u90fd\u662f\u6570\u5b57\uff0c\u5219\u8fd4\u56de<code>True<\/code>\uff0c\u5426\u5219\u8fd4\u56de<code>False<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u793a\u4f8b\u4ee3\u7801<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">s = &quot;12345&quot;<\/p>\n<p>print(s.isdigit())  # \u8f93\u51fa: True<\/p>\n<p>s = &quot;123a45&quot;<\/p>\n<p>print(s.isdigit())  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4f18\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u7b80\u6d01\u6613\u7528<\/strong>\uff1a\u4e0d\u9700\u8981\u989d\u5916\u7684\u5e93\u6216\u590d\u6742\u7684\u903b\u8f91\u3002<\/li>\n<li><strong>\u9ad8\u6548<\/strong>\uff1a\u76f4\u63a5\u8c03\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u6027\u80fd\u8f83\u597d\u3002<\/li>\n<\/ul>\n<p><h3>\u7f3a\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u5c40\u9650\u6027<\/strong>\uff1a\u53ea\u9002\u7528\u4e8e\u5224\u65ad\u963f\u62c9\u4f2f\u6570\u5b57\uff0c\u4e0d\u80fd\u5224\u65ad\u6d6e\u70b9\u6570\u3001\u5c0f\u6570\u70b9\u3001\u8d1f\u53f7\u7b49\u3002<\/li>\n<\/ul>\n<p><h2>\u4e8c\u3001\u4f7f\u7528<code>str.isnumeric()<\/code>\u65b9\u6cd5<\/h2>\n<\/p>\n<p><p><code>str.isnumeric()<\/code>\u65b9\u6cd5\u4e0e<code>str.isdigit()<\/code>\u7c7b\u4f3c\uff0c\u4f46\u5b83\u53ef\u4ee5\u8bc6\u522b\u66f4\u591a\u7684\u6570\u5b57\u5f62\u5f0f\uff0c\u5305\u62ec\u7f57\u9a6c\u6570\u5b57\u548c\u5176\u4ed6Unicode\u5b57\u7b26\u8868\u793a\u7684\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u793a\u4f8b\u4ee3\u7801<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">s = &quot;12345&quot;<\/p>\n<p>print(s.isnumeric())  # \u8f93\u51fa: True<\/p>\n<p>s = &quot;12345\u00bd&quot;<\/p>\n<p>print(s.isnumeric())  # \u8f93\u51fa: True<\/p>\n<p>s = &quot;123a45&quot;<\/p>\n<p>print(s.isnumeric())  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4f18\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u5e7f\u6cdb\u6027<\/strong>\uff1a\u80fd\u591f\u8bc6\u522b\u66f4\u591a\u7684\u6570\u5b57\u5f62\u5f0f\u3002<\/li>\n<\/ul>\n<p><h3>\u7f3a\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u5c40\u9650\u6027<\/strong>\uff1a\u540c\u6837\u4e0d\u80fd\u8bc6\u522b\u6d6e\u70b9\u6570\u3001\u5c0f\u6570\u70b9\u3001\u8d1f\u53f7\u7b49\u3002<\/li>\n<\/ul>\n<p><h2>\u4e09\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h2>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5b57\u7b26\u4e32\u5339\u914d\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u66f4\u590d\u6742\u7684\u6570\u5b57\u5224\u65ad\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u8d1f\u6570\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u793a\u4f8b\u4ee3\u7801<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def is_number(s):<\/p>\n<p>    pattern = re.compile(r&#39;^-?\\d+(\\.\\d+)?$&#39;)<\/p>\n<p>    return pattern.match(s) is not None<\/p>\n<p>print(is_number(&quot;12345&quot;))  # \u8f93\u51fa: True<\/p>\n<p>print(is_number(&quot;-123.45&quot;))  # \u8f93\u51fa: True<\/p>\n<p>print(is_number(&quot;123a45&quot;))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4f18\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u7075\u6d3b\u6027<\/strong>\uff1a\u53ef\u4ee5\u5339\u914d\u5404\u79cd\u5f62\u5f0f\u7684\u6570\u5b57\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u8d1f\u6570\u7b49\u3002<\/li>\n<\/ul>\n<p><h3>\u7f3a\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u590d\u6742\u5ea6<\/strong>\uff1a\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8bed\u6cd5\u6bd4\u8f83\u590d\u6742\uff0c\u4e0d\u6613\u4e8e\u7406\u89e3\u548c\u7ef4\u62a4\u3002<\/li>\n<\/ul>\n<p><h2>\u56db\u3001\u5c1d\u8bd5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57\u7c7b\u578b<\/h2>\n<\/p>\n<p><p>\u53e6\u4e00\u79cd\u53ef\u9760\u7684\u65b9\u6cd5\u662f\u5c1d\u8bd5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57\u7c7b\u578b\uff08\u5982<code>int<\/code>\u6216<code>float<\/code>\uff09\uff0c\u5982\u679c\u8f6c\u6362\u6210\u529f\uff0c\u5219\u8868\u793a\u5b57\u7b26\u4e32\u662f\u4e00\u4e2a\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u793a\u4f8b\u4ee3\u7801<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">def is_number(s):<\/p>\n<p>    try:<\/p>\n<p>        float(s)<\/p>\n<p>        return True<\/p>\n<p>    except ValueError:<\/p>\n<p>        return False<\/p>\n<p>print(is_number(&quot;12345&quot;))  # \u8f93\u51fa: True<\/p>\n<p>print(is_number(&quot;-123.45&quot;))  # \u8f93\u51fa: True<\/p>\n<p>print(is_number(&quot;123a45&quot;))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4f18\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u53ef\u9760\u6027<\/strong>\uff1a\u53ef\u4ee5\u5224\u65ad\u5404\u79cd\u5f62\u5f0f\u7684\u6570\u5b57\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u8d1f\u6570\u7b49\u3002<\/li>\n<\/ul>\n<p><h3>\u7f3a\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u6027\u80fd<\/strong>\uff1a\u7531\u4e8e\u4f7f\u7528\u4e86\u5f02\u5e38\u5904\u7406\uff0c\u6027\u80fd\u53ef\u80fd\u7a0d\u5dee\u3002<\/li>\n<\/ul>\n<p><h2>\u4e94\u3001\u4e0d\u540c\u65b9\u6cd5\u7684\u6bd4\u8f83<\/h2>\n<\/p>\n<p><h3>1\u3001\u65b9\u6cd5\u9002\u7528\u573a\u666f<\/h3>\n<\/p>\n<ul>\n<li><strong><code>str.isdigit()<\/code><\/strong>\uff1a\u9002\u7528\u4e8e\u5224\u65ad\u7eaf\u963f\u62c9\u4f2f\u6570\u5b57\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong><code>str.isnumeric()<\/code><\/strong>\uff1a\u9002\u7528\u4e8e\u5224\u65ad\u5305\u542b\u66f4\u591a\u5f62\u5f0f\u6570\u5b57\u7684\u5b57\u7b26\u4e32\u3002<\/li>\n<li><strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u590d\u6742\u5339\u914d\u89c4\u5219\u7684\u573a\u666f\u3002<\/li>\n<li><strong>\u7c7b\u578b\u8f6c\u6362<\/strong>\uff1a\u9002\u7528\u4e8e\u5224\u65ad\u5404\u79cd\u5f62\u5f0f\u6570\u5b57\u7684\u901a\u7528\u573a\u666f\u3002<\/li>\n<\/ul>\n<p><h3>2\u3001\u6027\u80fd\u5bf9\u6bd4<\/h3>\n<\/p>\n<p><p>\u6027\u80fd\u65b9\u9762\uff0c<code>str.isdigit()<\/code>\u548c<code>str.isnumeric()<\/code>\u65b9\u6cd5\u8f83\u4f18\uff0c\u56e0\u4e3a\u5b83\u4eec\u76f4\u63a5\u8c03\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u65e0\u9700\u989d\u5916\u7684\u5e93\u6216\u590d\u6742\u7684\u903b\u8f91\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u6b21\u4e4b\uff0c\u867d\u7136\u7075\u6d3b\uff0c\u4f46\u5339\u914d\u8fc7\u7a0b\u76f8\u5bf9\u8017\u65f6\u3002\u7c7b\u578b\u8f6c\u6362\u65b9\u6cd5\u56e0\u4e3a\u4f7f\u7528\u4e86\u5f02\u5e38\u5904\u7406\uff0c\u6027\u80fd\u6700\u5dee\uff0c\u4f46\u53ef\u9760\u6027\u6700\u9ad8\u3002<\/p>\n<\/p>\n<p><h3>3\u3001\u4ee3\u7801\u7b80\u6d01\u5ea6<\/h3>\n<\/p>\n<p><p>\u4ee3\u7801\u7b80\u6d01\u5ea6\u65b9\u9762\uff0c<code>str.isdigit()<\/code>\u548c<code>str.isnumeric()<\/code>\u65b9\u6cd5\u6700\u7b80\u6d01\uff0c\u9002\u5408\u521d\u5b66\u8005\u548c\u65e5\u5e38\u4f7f\u7528\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u548c\u7c7b\u578b\u8f6c\u6362\u65b9\u6cd5\u8f83\u4e3a\u590d\u6742\uff0c\u9700\u8981\u4e00\u5b9a\u7684\u7f16\u7a0b\u57fa\u7840\u3002<\/p>\n<\/p>\n<p><h2>\u516d\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p><strong>\u5728Python\u4e2d\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u662f\u6570\u5b57\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u4f7f\u7528\u573a\u666f\u3002<\/strong>\u5982\u679c\u9700\u8981\u5224\u65ad\u7eaf\u963f\u62c9\u4f2f\u6570\u5b57\u5b57\u7b26\u4e32\uff0c<code>str.isdigit()<\/code>\u65b9\u6cd5\u662f\u6700\u7b80\u6d01\u548c\u9ad8\u6548\u7684\u9009\u62e9\u3002\u5982\u679c\u9700\u8981\u5224\u65ad\u66f4\u591a\u5f62\u5f0f\u7684\u6570\u5b57\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528<code>str.isnumeric()<\/code>\u65b9\u6cd5\u3002\u5bf9\u4e8e\u590d\u6742\u7684\u6570\u5b57\u683c\u5f0f\u5339\u914d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5de5\u5177\u3002\u6700\u540e\uff0c\u5982\u679c\u9700\u8981\u5224\u65ad\u5404\u79cd\u5f62\u5f0f\u7684\u6570\u5b57\uff0c\u7c7b\u578b\u8f6c\u6362\u65b9\u6cd5\u867d\u7136\u6027\u80fd\u7a0d\u5dee\uff0c\u4f46\u53ef\u9760\u6027\u6700\u9ad8\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5408\u7406\u9009\u62e9\u548c\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\u548c\u53ef\u8bfb\u6027\uff0c\u786e\u4fdd\u5b57\u7b26\u4e32\u6570\u5b57\u5224\u65ad\u7684\u51c6\u786e\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u53ef\u4ee5\u8f6c\u6362\u4e3a\u6570\u5b57\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.isdigit()<\/code>\u65b9\u6cd5\u6765\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u6570\u5b57\u5b57\u7b26\u3002\u8fd9\u4e2a\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u5982\u679c\u5b57\u7b26\u4e32\u4ec5\u7531\u6570\u5b57\u7ec4\u6210\uff0c\u5219\u8fd4\u56deTrue\u3002\u5bf9\u4e8e\u5305\u542b\u8d1f\u53f7\u6216\u5c0f\u6570\u70b9\u7684\u6570\u5b57\uff0c\u4f7f\u7528<code>try-except<\/code>\u5757\u7ed3\u5408<code>float()<\/code>\u6216<code>int()<\/code>\u51fd\u6570\u8fdb\u884c\u8f6c\u6362\u5224\u65ad\u66f4\u4e3a\u51c6\u786e\u3002<\/p>\n<p><strong>Python\u4e2d\u6709\u54ea\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u9a8c\u8bc1\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u6570\u5b57\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528<code>str.isdigit()<\/code>\uff0c\u8fd8\u53ef\u4ee5\u5229\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u68c0\u67e5\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u6570\u5b57\u3002\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u4e2d\u7684<code>re.match()<\/code>\u51fd\u6570\uff0c\u5b9a\u4e49\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5339\u914d\u6574\u6570\u548c\u6d6e\u70b9\u6570\u3002\u6b64\u5916\uff0c\u5229\u7528<code>str.replace()<\/code>\u548c<code>str.isnumeric()<\/code>\u7b49\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u8fdb\u884c\u66f4\u590d\u6742\u7684\u9a8c\u8bc1\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5e26\u6709\u5343\u5206\u4f4d\u7b26\u548c\u5c0f\u6570\u70b9\u7684\u60c5\u51b5\u65f6\u3002<\/p>\n<p><strong>\u5982\u679c\u5b57\u7b26\u4e32\u5305\u542b\u7a7a\u683c\uff0c\u5982\u4f55\u5224\u65ad\u5b83\u662f\u5426\u662f\u6570\u5b57\uff1f<\/strong><br \/>\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u53ef\u80fd\u5bfc\u81f4<code>str.isdigit()<\/code>\u65b9\u6cd5\u8fd4\u56deFalse\u3002\u53ef\u4ee5\u901a\u8fc7<code>str.strip()<\/code>\u65b9\u6cd5\u53bb\u9664\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u683c\u540e\uff0c\u518d\u8fdb\u884c\u5224\u65ad\u3002\u5982\u679c\u4f7f\u7528<code>float()<\/code>\u6216<code>int()<\/code>\u51fd\u6570\uff0c\u4e5f\u53ef\u4ee5\u5148\u53bb\u9664\u7a7a\u683c\uff0c\u786e\u4fdd\u51fd\u6570\u80fd\u591f\u6b63\u786e\u5904\u7406\u8be5\u5b57\u7b26\u4e32\u3002\u4f7f\u7528<code>try-except<\/code>\u7ed3\u6784\u53ef\u4ee5\u6709\u6548\u6355\u83b7\u8f6c\u6362\u9519\u8bef\uff0c\u786e\u4fdd\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5224\u65ad\u5728Python\u5b57\u7b26\u4e32\u662f\u5426\u662f\u6570\u5b57\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528str.isdigit()\u65b9\u6cd5\u3001\u4f7f\u7528str.isnume [&hellip;]","protected":false},"author":3,"featured_media":1128841,"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\/1128836"}],"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=1128836"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128836\/revisions"}],"predecessor-version":[{"id":1128843,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1128836\/revisions\/1128843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1128841"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1128836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1128836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1128836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}