{"id":1090071,"date":"2025-01-08T13:59:26","date_gmt":"2025-01-08T05:59:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1090071.html"},"modified":"2025-01-08T13:59:29","modified_gmt":"2025-01-08T05:59:29","slug":"python%e5%a6%82%e4%bd%95%e5%b0%86%e5%ad%97%e6%af%8d%e8%bd%ac%e5%8c%96%e4%b8%ba%e6%95%b0%e5%ad%97-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1090071.html","title":{"rendered":"python\u5982\u4f55\u5c06\u5b57\u6bcd\u8f6c\u5316\u4e3a\u6570\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24202723\/d1bac5ac-d08a-4170-9b75-dc1140d2002c.webp\" alt=\"python\u5982\u4f55\u5c06\u5b57\u6bcd\u8f6c\u5316\u4e3a\u6570\u5b57\" \/><\/p>\n<p><p> <strong>Python\u5c06\u5b57\u6bcd\u8f6c\u5316\u4e3a\u6570\u5b57\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u5e38\u7528\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528ord()\u51fd\u6570\u3001\u521b\u5efa\u81ea\u5b9a\u4e49\u5b57\u6bcd-\u6570\u5b57\u6620\u5c04\u5b57\u5178\u3001\u4f7f\u7528ASCII\u7801\u8f6c\u6362\u3002<\/strong> \u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528Python\u7684\u5185\u5efa\u51fd\u6570ord()\uff0c\u5b83\u53ef\u4ee5\u5c06\u5355\u4e2a\u5b57\u7b26\u8f6c\u6362\u4e3a\u5bf9\u5e94\u7684ASCII\u7801\u503c\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63a2\u8ba8\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528ord()\u51fd\u6570<\/h3>\n<\/p>\n<p><p>Python\u4e2d\u7684ord()\u51fd\u6570\u53ef\u4ee5\u5c06\u5355\u4e2a\u5b57\u7b26\u8f6c\u6362\u4e3a\u5176\u5bf9\u5e94\u7684ASCII\u7801\u503c\u3002\u5bf9\u4e8e\u5b57\u6bcd\u5b57\u7b26\uff0cA-Z\u548ca-z\u5bf9\u5e94\u7684ASCII\u7801\u503c\u5206\u522b\u662f65-90\u548c97-122\u3002\u6211\u4eec\u53ef\u4ee5\u5229\u7528\u8fd9\u4e2a\u51fd\u6570\u6765\u5b9e\u73b0\u5b57\u6bcd\u5230\u6570\u5b57\u7684\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def letter_to_number(letter):<\/p>\n<p>    return ord(letter)<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>print(letter_to_number(&#39;A&#39;))  # \u8f93\u51fa65<\/p>\n<p>print(letter_to_number(&#39;a&#39;))  # \u8f93\u51fa97<\/p>\n<p>print(letter_to_number(&#39;Z&#39;))  # \u8f93\u51fa90<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528ord()\u51fd\u6570\u7684\u4f18\u70b9\u662f\u7b80\u5355\u4e14\u76f4\u63a5\uff0c\u65e0\u9700\u989d\u5916\u5b9a\u4e49\u6620\u5c04\u5173\u7cfb\uff0c\u9002\u5408\u5904\u7406\u5355\u4e2a\u5b57\u7b26\u7684\u8f6c\u6362\u3002\u4f46\u662f\uff0c\u5982\u679c\u9700\u8981\u5c06\u6574\u4e2a\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u6570\u5b57\uff0c\u5219\u9700\u8981\u8fdb\u4e00\u6b65\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u521b\u5efa\u81ea\u5b9a\u4e49\u5b57\u6bcd-\u6570\u5b57\u6620\u5c04\u5b57\u5178<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u9700\u6c42\uff0c\u6bd4\u5982\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u81ea\u5b9a\u4e49\u7684\u6570\u5b57\u503c\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5b57\u6bcd\u5230\u6570\u5b57\u7684\u6620\u5c04\u5b57\u5178\u3002\u8fd9\u6837\u7684\u65b9\u6cd5\u66f4\u52a0\u7075\u6d3b\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u81ea\u5b9a\u4e49\u6620\u5c04\u5173\u7cfb\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def create_mapping():<\/p>\n<p>    mapping = {}<\/p>\n<p>    for i in range(26):<\/p>\n<p>        mapping[chr(65 + i)] = i + 1  # \u5927\u5199\u5b57\u6bcdA-Z\u6620\u5c04\u4e3a1-26<\/p>\n<p>        mapping[chr(97 + i)] = i + 1  # \u5c0f\u5199\u5b57\u6bcda-z\u6620\u5c04\u4e3a1-26<\/p>\n<p>    return mapping<\/p>\n<p>def letter_to_number(letter, mapping):<\/p>\n<p>    return mapping.get(letter, 0)  # \u5982\u679c\u5b57\u6bcd\u4e0d\u5728\u5b57\u5178\u4e2d\uff0c\u8fd4\u56de0<\/p>\n<h2><strong>\u521b\u5efa\u6620\u5c04\u5b57\u5178<\/strong><\/h2>\n<p>mapping = create_mapping()<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>print(letter_to_number(&#39;A&#39;, mapping))  # \u8f93\u51fa1<\/p>\n<p>print(letter_to_number(&#39;a&#39;, mapping))  # \u8f93\u51fa1<\/p>\n<p>print(letter_to_number(&#39;Z&#39;, mapping))  # \u8f93\u51fa26<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u7075\u6d3b\u6027\u9ad8\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u81ea\u5b9a\u4e49\u6620\u5c04\u5173\u7cfb\uff0c\u4f46\u9700\u8981\u989d\u5916\u521b\u5efa\u548c\u7ef4\u62a4\u6620\u5c04\u5b57\u5178\uff0c\u9002\u5408\u5904\u7406\u590d\u6742\u7684\u8f6c\u6362\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528ASCII\u7801\u8f6c\u6362<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4ec5\u4ec5\u662f\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5176\u5728\u5b57\u6bcd\u8868\u4e2d\u7684\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5229\u7528ASCII\u7801\u8fdb\u884c\u7b80\u5355\u7684\u6570\u5b66\u8fd0\u7b97\u3002\u5927\u5199\u5b57\u6bcdA-Z\u5bf9\u5e94\u7684ASCII\u7801\u503c\u4ece65\u523090\uff0c\u5c0f\u5199\u5b57\u6bcda-z\u5bf9\u5e94\u7684ASCII\u7801\u503c\u4ece97\u5230122\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def letter_to_number(letter):<\/p>\n<p>    if &#39;A&#39; &lt;= letter &lt;= &#39;Z&#39;:<\/p>\n<p>        return ord(letter) - 64  # \u5927\u5199\u5b57\u6bcdA-Z\u6620\u5c04\u4e3a1-26<\/p>\n<p>    elif &#39;a&#39; &lt;= letter &lt;= &#39;z&#39;:<\/p>\n<p>        return ord(letter) - 96  # \u5c0f\u5199\u5b57\u6bcda-z\u6620\u5c04\u4e3a1-26<\/p>\n<p>    else:<\/p>\n<p>        return 0  # \u975e\u5b57\u6bcd\u5b57\u7b26\u8fd4\u56de0<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>print(letter_to_number(&#39;A&#39;))  # \u8f93\u51fa1<\/p>\n<p>print(letter_to_number(&#39;a&#39;))  # \u8f93\u51fa1<\/p>\n<p>print(letter_to_number(&#39;Z&#39;))  # \u8f93\u51fa26<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u7b80\u5355\u4e14\u9ad8\u6548\uff0c\u9002\u5408\u5904\u7406\u5b57\u6bcd\u8868\u4f4d\u7f6e\u7684\u8f6c\u6362\uff0c\u4f46\u4e0d\u9002\u5408\u81ea\u5b9a\u4e49\u6620\u5c04\u5173\u7cfb\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u6574\u4e2a\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u5c06\u6574\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u6bcd\u90fd\u8f6c\u6362\u4e3a\u6570\u5b57\uff0c\u5e76\u53ef\u80fd\u5c06\u7ed3\u679c\u5b58\u50a8\u5728\u5217\u8868\u6216\u5176\u4ed6\u6570\u636e\u7ed3\u6784\u4e2d\u3002\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u524d\u9762\u7684\u65b9\u6cd5\u6765\u5904\u7406\u8fd9\u79cd\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def string_to_numbers(string):<\/p>\n<p>    def letter_to_number(letter):<\/p>\n<p>        if &#39;A&#39; &lt;= letter &lt;= &#39;Z&#39;:<\/p>\n<p>            return ord(letter) - 64<\/p>\n<p>        elif &#39;a&#39; &lt;= letter &lt;= &#39;z&#39;:<\/p>\n<p>            return ord(letter) - 96<\/p>\n<p>        else:<\/p>\n<p>            return 0<\/p>\n<p>    return [letter_to_number(letter) for letter in string]<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>print(string_to_numbers(&quot;Hello World!&quot;))  # \u8f93\u51fa[8, 5, 12, 12, 15, 0, 23, 15, 18, 12, 4, 0]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u6bcd\u90fd\u8f6c\u6362\u4e3a\u5bf9\u5e94\u7684\u6570\u5b57\uff0c\u5e76\u5c06\u7ed3\u679c\u5b58\u50a8\u5728\u4e00\u4e2a\u5217\u8868\u4e2d\uff0c\u9002\u5408\u5904\u7406\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5e94\u7528\u573a\u666f\u548c\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u6570\u5b57\u7684\u9700\u6c42\u53ef\u80fd\u51fa\u73b0\u5728\u5bc6\u7801\u5b66\u3001\u6587\u672c\u5904\u7406\u3001\u6570\u636e\u5206\u6790\u7b49\u9886\u57df\u3002\u4f8b\u5982\uff0c\u5728\u5bc6\u7801\u5b66\u4e2d\uff0c\u5e38\u5e38\u9700\u8981\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u6570\u5b57\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u64cd\u4f5c\uff1b\u5728\u6587\u672c\u5904\u7406\u548c\u6570\u636e\u5206\u6790\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u6570\u5b57\u8fdb\u884c\u7279\u5f81\u63d0\u53d6\u548c\u5efa\u6a21\u3002<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8f93\u5165\u9a8c\u8bc1<\/strong>\uff1a\u786e\u4fdd\u8f93\u5165\u7684\u5b57\u7b26\u662f\u5b57\u6bcd\uff0c\u5982\u679c\u6709\u975e\u5b57\u6bcd\u5b57\u7b26\uff0c\u5e94\u8be5\u8fdb\u884c\u9002\u5f53\u5904\u7406\u3002<\/li>\n<li><strong>\u6027\u80fd\u8003\u8651<\/strong>\uff1a\u5bf9\u4e8e\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\uff0c\u9009\u62e9\u9ad8\u6548\u7684\u8f6c\u6362\u65b9\u6cd5\uff0c\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u8ba1\u7b97\u5f00\u9500\u3002<\/li>\n<li><strong>\u7075\u6d3b\u6027<\/strong>\uff1a\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u7b80\u5355\u9700\u6c42\u53ef\u4ee5\u4f7f\u7528ord()\u51fd\u6570\uff0c\u590d\u6742\u9700\u6c42\u53ef\u4ee5\u81ea\u5b9a\u4e49\u6620\u5c04\u5b57\u5178\u3002<\/li>\n<\/ol>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u6570\u5b57\uff0c\u5e38\u7528\u7684\u65b9\u6cd5\u6709\u4f7f\u7528ord()\u51fd\u6570\u3001\u521b\u5efa\u81ea\u5b9a\u4e49\u5b57\u6bcd-\u6570\u5b57\u6620\u5c04\u5b57\u5178\u3001\u4f7f\u7528ASCII\u7801\u8f6c\u6362\u3002\u4e0d\u540c\u7684\u65b9\u6cd5\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u9700\u6c42\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u7406\u89e3\u548c\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5bf9\u5e94\u7684ASCII\u6570\u5b57\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>ord()<\/code>\u51fd\u6570\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5bf9\u5e94\u7684ASCII\u503c\u3002\u4f8b\u5982\uff0c<code>ord(&#39;A&#39;)<\/code>\u5c06\u8fd4\u56de65\uff0c<code>ord(&#39;a&#39;)<\/code>\u5c06\u8fd4\u56de97\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5355\u4e2a\u5b57\u7b26\u7684\u8f6c\u6362\u3002\u5982\u679c\u9700\u8981\u8f6c\u6362\u591a\u4e2a\u5b57\u6bcd\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u5b9e\u73b0\uff0c\u4f8b\u5982\uff1a<code>[ord(char) for char in &#39;Hello&#39;]<\/code>\uff0c\u8fd9\u4f1a\u8fd4\u56de\u5b57\u7b26\u7684ASCII\u7801\u5217\u8868\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u529e\u6cd5\u5c06\u5b57\u6bcd\u8f6c\u6362\u4e3a\u81ea\u5b9a\u4e49\u7684\u6570\u5b57\u7f16\u7801\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\u3002\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\uff0c\u5c06\u5b57\u6bcd\u6620\u5c04\u5230\u4f60\u6240\u9700\u7684\u6570\u5b57\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u8fd9\u6837\u5b9a\u4e49\uff1a<code>mapping = {&#39;A&#39;: 1, &#39;B&#39;: 2, &#39;C&#39;: 3}<\/code>\u3002\u7136\u540e\u904d\u5386\u5b57\u7b26\u4e32\uff0c\u5c06\u6bcf\u4e2a\u5b57\u6bcd\u66ff\u6362\u4e3a\u5b57\u5178\u4e2d\u7684\u503c\u3002\u8fd9\u79cd\u65b9\u6cd5\u7075\u6d3b\uff0c\u80fd\u591f\u6ee1\u8db3\u4e0d\u540c\u7684\u7f16\u7801\u9700\u6c42\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5927\u5c0f\u5199\u5b57\u6bcd\u7684\u8f6c\u6362\uff1f<\/strong><br \/>\u5728\u8fdb\u884c\u5b57\u6bcd\u8f6c\u6362\u65f6\uff0c\u5927\u5c0f\u5199\u5b57\u6bcd\u7684ASCII\u503c\u662f\u4e0d\u540c\u7684\u3002\u5982\u679c\u5e0c\u671b\u5c06\u5927\u5c0f\u5199\u5b57\u6bcd\u7edf\u4e00\u5904\u7406\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.lower()<\/code>\u6216<code>str.upper()<\/code>\u51fd\u6570\u5c06\u6574\u4e2a\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5c0f\u5199\u6216\u5927\u5199\uff0c\u518d\u8fdb\u884c\u8f6c\u6362\u3002\u4f8b\u5982\uff0c<code>ord(&#39;A&#39;.lower())<\/code>\u4f1a\u8fd4\u56de97\uff0c\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u5728\u5904\u7406\u65f6\u4e0d\u53d7\u5927\u5c0f\u5199\u5f71\u54cd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5c06\u5b57\u6bcd\u8f6c\u5316\u4e3a\u6570\u5b57\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u5e38\u7528\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528ord()\u51fd\u6570\u3001\u521b\u5efa\u81ea\u5b9a\u4e49\u5b57\u6bcd-\u6570\u5b57\u6620\u5c04\u5b57\u5178\u3001\u4f7f [&hellip;]","protected":false},"author":3,"featured_media":1090084,"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\/1090071"}],"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=1090071"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090071\/revisions"}],"predecessor-version":[{"id":1090089,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090071\/revisions\/1090089"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1090084"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1090071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1090071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1090071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}