{"id":1037519,"date":"2024-12-31T12:15:44","date_gmt":"2024-12-31T04:15:44","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1037519.html"},"modified":"2024-12-31T12:15:47","modified_gmt":"2024-12-31T04:15:47","slug":"%e5%a6%82%e4%bd%95%e6%8a%8a%e5%ad%97%e7%ac%a6%e4%b8%b2%e6%94%b9%e5%a4%a7%e5%b0%8fpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1037519.html","title":{"rendered":"\u5982\u4f55\u628a\u5b57\u7b26\u4e32\u6539\u5927\u5c0fpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/89039fe0-8742-46de-98a9-3cf8ce266f92.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u628a\u5b57\u7b26\u4e32\u6539\u5927\u5c0fpython\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u66f4\u6539\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5185\u7f6e\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u5982<code>upper()<\/code>\u3001<code>lower()<\/code>\u3001<code>capitalize()<\/code>\u3001<code>title()<\/code>\u7b49\u3002<\/strong> \u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5927\u5199\u3001\u5c0f\u5199\u3001\u9996\u5b57\u6bcd\u5927\u5199\u6216\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u5927\u5199\u7b49\u5f62\u5f0f\u3002<strong>\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u6839\u636e\u9700\u6c42\u66f4\u6539\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199<\/strong>\u3002\u4f8b\u5982\uff0c<code>upper()<\/code>\u65b9\u6cd5\u5c06\u6574\u4e2a\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u800c<code>lower()<\/code>\u65b9\u6cd5\u5c06\u5176\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u53ca\u5176\u4f7f\u7528\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001UPPER()\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>upper()<\/code>\u65b9\u6cd5\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u5b57\u7b26\u8f6c\u6362\u4e3a\u5927\u5199\u3002\u8fd9\u4e2a\u65b9\u6cd5\u4e0d\u4f1a\u6539\u53d8\u539f\u5b57\u7b26\u4e32\uff0c\u800c\u662f\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_str = &quot;hello world&quot;<\/p>\n<p>uppercase_str = original_str.upper()<\/p>\n<p>print(uppercase_str)  # \u8f93\u51fa\uff1aHELLO WORLD<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>original_str<\/code>\u662f\u539f\u59cb\u5b57\u7b26\u4e32\uff0c\u901a\u8fc7\u8c03\u7528<code>upper()<\/code>\u65b9\u6cd5\uff0c\u6240\u6709\u5b57\u7b26\u90fd\u88ab\u8f6c\u6362\u4e3a\u5927\u5199\u5b57\u6bcd\uff0c\u5e76\u5b58\u50a8\u5728<code>uppercase_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001LOWER()\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>lower()<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6240\u6709\u5b57\u7b26\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u4e0e<code>upper()<\/code>\u65b9\u6cd5\u7c7b\u4f3c\uff0c\u5b83\u4e5f\u4e0d\u4f1a\u6539\u53d8\u539f\u5b57\u7b26\u4e32\uff0c\u800c\u662f\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_str = &quot;HELLO WORLD&quot;<\/p>\n<p>lowercase_str = original_str.lower()<\/p>\n<p>print(lowercase_str)  # \u8f93\u51fa\uff1ahello world<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>original_str<\/code>\u4e2d\u7684\u6240\u6709\u5b57\u7b26\u88ab\u8f6c\u6362\u4e3a\u5c0f\u5199\u5b57\u6bcd\uff0c\u5e76\u5b58\u50a8\u5728<code>lowercase_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001CAPITALIZE()\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>capitalize()<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5176\u4ed6\u5b57\u7b26\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_str = &quot;hello world&quot;<\/p>\n<p>capitalized_str = original_str.capitalize()<\/p>\n<p>print(capitalized_str)  # \u8f93\u51fa\uff1aHello world<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>original_str<\/code>\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26\u88ab\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5176\u4ed6\u5b57\u7b26\u88ab\u8f6c\u6362\u4e3a\u5c0f\u5199\uff0c\u5e76\u5b58\u50a8\u5728<code>capitalized_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001TITLE()\u65b9\u6cd5<\/p>\n<\/p>\n<p><p><code>title()<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5176\u4ed6\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_str = &quot;hello world&quot;<\/p>\n<p>title_str = original_str.title()<\/p>\n<p>print(title_str)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>original_str<\/code>\u4e2d\u7684\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u88ab\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5176\u4ed6\u5b57\u6bcd\u88ab\u8f6c\u6362\u4e3a\u5c0f\u5199\uff0c\u5e76\u5b58\u50a8\u5728<code>title_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u4f7f\u7528STRING\u6a21\u5757\u7684CAPWORDS()\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u5b57\u7b26\u4e32\u7684\u5185\u7f6e\u65b9\u6cd5\u5916\uff0cPython\u7684<code>string<\/code>\u6a21\u5757\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u540d\u4e3a<code>capwords()<\/code>\u7684\u65b9\u6cd5\u3002\u8fd9\u4e2a\u65b9\u6cd5\u7684\u529f\u80fd\u7c7b\u4f3c\u4e8e<code>title()<\/code>\u65b9\u6cd5\uff0c\u4f46\u5b83\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u5904\u7406\u5b57\u7b26\u4e32\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import string<\/p>\n<p>original_str = &quot;hello world&quot;<\/p>\n<p>capwords_str = string.capwords(original_str)<\/p>\n<p>print(capwords_str)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5bfc\u5165\u4e86<code>string<\/code>\u6a21\u5757\uff0c\u5e76\u4f7f\u7528<code>capwords()<\/code>\u65b9\u6cd5\u5c06<code>original_str<\/code>\u4e2d\u7684\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u5176\u4ed6\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u7ed3\u679c\u5b58\u50a8\u5728<code>capwords_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5b9e\u73b0\u5b57\u7b26\u4e32\u5927\u5c0f\u5199\u8f6c\u6362<\/p>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u66f4\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5927\u5c0f\u5199\u8f6c\u6362\u64cd\u4f5c\uff0c\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5757<code>re<\/code>\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def capitalize_words(s):<\/p>\n<p>    return re.sub(r&#39;\\b\\w&#39;, lambda m: m.group().upper(), s)<\/p>\n<p>original_str = &quot;hello world&quot;<\/p>\n<p>capitalized_str = capitalize_words(original_str)<\/p>\n<p>print(capitalized_str)  # \u8f93\u51fa\uff1aHello World<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5bfc\u5165\u4e86<code>re<\/code>\u6a21\u5757\uff0c\u5e76\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a<code>capitalize_words()<\/code>\u7684\u51fd\u6570\u3002\u8fd9\u4e2a\u51fd\u6570\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<code>\\b\\w<\/code>\u5339\u914d\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\uff0c\u5e76\u4f7f\u7528<code>lambda<\/code>\u51fd\u6570\u5c06\u5176\u8f6c\u6362\u4e3a\u5927\u5199\u3002\u7ed3\u679c\u5b58\u50a8\u5728<code>capitalized_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u5176\u4ed6\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u65b9\u6cd5\u5916\uff0cPython\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5176\u4ed6\u65b9\u6cd5\u6765\u5904\u7406\u5b57\u7b26\u4e32\u5927\u5c0f\u5199\u8f6c\u6362\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>swapcase()<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u4e2d\u7684\u5927\u5199\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5c0f\u5199\u5b57\u6bcd\uff0c\u5c0f\u5199\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\u5b57\u6bcd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">original_str = &quot;Hello World&quot;<\/p>\n<p>swapped_str = original_str.swapcase()<\/p>\n<p>print(swapped_str)  # \u8f93\u51fa\uff1ahELLO wORLD<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>original_str<\/code>\u4e2d\u7684\u5927\u5199\u5b57\u6bcd\u88ab\u8f6c\u6362\u4e3a\u5c0f\u5199\u5b57\u6bcd\uff0c\u5c0f\u5199\u5b57\u6bcd\u88ab\u8f6c\u6362\u4e3a\u5927\u5199\u5b57\u6bcd\uff0c\u5e76\u5b58\u50a8\u5728<code>swapped_str<\/code>\u4e2d\u3002\u539f\u59cb\u5b57\u7b26\u4e32<code>original_str<\/code>\u4fdd\u6301\u4e0d\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528Python\u63d0\u4f9b\u7684\u5404\u79cd\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u66f4\u6539\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199\u3002<strong>\u8fd9\u4e9b\u65b9\u6cd5\u5305\u62ec<code>upper()<\/code>\u3001<code>lower()<\/code>\u3001<code>capitalize()<\/code>\u3001<code>title()<\/code>\u3001<code>swapcase()<\/code>\u4ee5\u53ca<code>string<\/code>\u6a21\u5757\u4e2d\u7684<code>capwords()<\/code>\u65b9\u6cd5<\/strong>\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5927\u5c0f\u5199\u8f6c\u6362\u64cd\u4f5c\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u9ad8\u6548\u5730\u5904\u7406\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199\u8f6c\u6362\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5927\u5199\u6216\u5c0f\u5199\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.upper()<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u5927\u5199\uff0c\u4f7f\u7528<code>str.lower()<\/code>\u65b9\u6cd5\u5c06\u5176\u8f6c\u6362\u4e3a\u5c0f\u5199\u3002\u4f8b\u5982\uff0c<code>my_string = &quot;Hello World&quot;<\/code>\uff0c\u8c03\u7528<code>my_string.upper()<\/code>\u5c06\u8fd4\u56de<code>&quot;HELLO WORLD&quot;<\/code>\uff0c\u800c<code>my_string.lower()<\/code>\u5c06\u8fd4\u56de<code>&quot;hello world&quot;<\/code>\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u5904\u7406\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\u5199\u8f6c\u6362\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u662f\u5426\u53ef\u4ee5\u540c\u65f6\u5c06\u5b57\u7b26\u4e32\u7684\u90e8\u5206\u5b57\u7b26\u8f6c\u6362\u4e3a\u5927\u5199\u6216\u5c0f\u5199\uff1f<\/strong><br \/>\u662f\u7684\uff0cPython\u63d0\u4f9b\u4e86<code>str.capitalize()<\/code>\u548c<code>str.title()<\/code>\u65b9\u6cd5\uff0c\u5206\u522b\u7528\u4e8e\u5c06\u5b57\u7b26\u4e32\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26\u8f6c\u6362\u4e3a\u5927\u5199\u548c\u5c06\u6bcf\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\u3002\u4f8b\u5982\uff0c<code>&quot;hello world&quot;.capitalize()<\/code>\u8fd4\u56de<code>&quot;Hello world&quot;<\/code>\uff0c\u800c<code>&quot;hello world&quot;.title()<\/code>\u8fd4\u56de<code>&quot;Hello World&quot;<\/code>\uff0c\u8fd9\u5bf9\u4e8e\u683c\u5f0f\u5316\u6587\u672c\u975e\u5e38\u6709\u7528\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u5b57\u7b26\u4e32\u5927\u5c0f\u5199\u8f6c\u6362\uff1f<\/strong><br \/>\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u4e2d\u7684<code>re.sub()<\/code>\u51fd\u6570\u53ef\u4ee5\u57fa\u4e8e\u7279\u5b9a\u6a21\u5f0f\u5c06\u5b57\u7b26\u4e32\u7684\u67d0\u4e9b\u90e8\u5206\u8f6c\u6362\u4e3a\u5927\u5199\u6216\u5c0f\u5199\u3002\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u66ff\u6362\u51fd\u6570\u6765\u5904\u7406\u5339\u914d\u7684\u5b57\u7b26\u4e32\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>re.sub(r&#39;[a-z]&#39;, lambda x: x.group(0).upper(), my_string)<\/code>\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u7684\u5c0f\u5199\u5b57\u6bcd\u8f6c\u6362\u4e3a\u5927\u5199\u5b57\u6bcd\u3002\u8fd9\u79cd\u65b9\u6cd5\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u66f4\u6539\u5b57\u7b26\u4e32\u7684\u5927\u5c0f\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5185\u7f6e\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\uff0c\u5982upper()\u3001lower()\u3001capit [&hellip;]","protected":false},"author":3,"featured_media":1037528,"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\/1037519"}],"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=1037519"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1037519\/revisions"}],"predecessor-version":[{"id":1037529,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1037519\/revisions\/1037529"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1037528"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1037519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1037519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1037519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}