{"id":1135536,"date":"2025-01-08T21:26:31","date_gmt":"2025-01-08T13:26:31","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1135536.html"},"modified":"2025-01-08T21:26:34","modified_gmt":"2025-01-08T13:26:34","slug":"python%e5%a6%82%e4%bd%95%e5%b0%86%e6%95%b0%e5%80%bc%e5%9e%8b%e5%ae%9a%e4%b9%89%e4%b8%ba%e5%ad%97%e7%ac%a6%e5%8f%98%e9%87%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1135536.html","title":{"rendered":"python\u5982\u4f55\u5c06\u6570\u503c\u578b\u5b9a\u4e49\u4e3a\u5b57\u7b26\u53d8\u91cf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104145\/160c8606-9e6e-4fd3-836b-0f93615062ea.webp\" alt=\"python\u5982\u4f55\u5c06\u6570\u503c\u578b\u5b9a\u4e49\u4e3a\u5b57\u7b26\u53d8\u91cf\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u3002\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u7684 <code>str()<\/code> \u51fd\u6570\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u3001\u4ee5\u53caf-strings\u3002<\/strong> \u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u5177\u4f53\u7684\u793a\u4f8b\u548c\u4ee3\u7801\u7247\u6bb5\u6765\u8bf4\u660e\u5982\u4f55\u6709\u6548\u5730\u8fdb\u884c\u7c7b\u578b\u8f6c\u6362\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u4f1a\u4ecb\u7ecd\u4e00\u4e9b\u9ad8\u7ea7\u7528\u6cd5\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u638c\u63e1\u8fd9\u4e00\u6280\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 <code>str()<\/code> \u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>str()<\/code> \u51fd\u6570\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\uff0c\u7528\u4e8e\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u3002\u8fd9\u4e2a\u51fd\u6570\u7b80\u5355\u76f4\u63a5\uff0c\u662f\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u7684\u9996\u9009\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">num = 123<\/p>\n<p>str_num = str(num)<\/p>\n<p>print(str_num)  # \u8f93\u51fa: &#39;123&#39;<\/p>\n<p>print(type(str_num))  # \u8f93\u51fa: &lt;class &#39;str&#39;&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8be6\u7ec6\u63cf\u8ff0<\/h4>\n<\/p>\n<p><p><code>str()<\/code> \u51fd\u6570\u53ef\u4ee5\u5904\u7406\u5404\u79cd\u6570\u503c\u7c7b\u578b\uff0c\u5305\u62ec\u6574\u6570\u3001\u6d6e\u70b9\u6570\u548c\u590d\u6570\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u6574\u578b\u8f6c\u6362\u8fd8\u662f\u590d\u6742\u7684\u6d6e\u70b9\u6570\u548c\u590d\u6570\u8f6c\u6362\uff0c<code>str()<\/code> \u51fd\u6570\u90fd\u80fd\u80dc\u4efb\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">int_num = 42<\/p>\n<p>float_num = 3.14159<\/p>\n<p>complex_num = 1 + 2j<\/p>\n<p>print(str(int_num))  # \u8f93\u51fa: &#39;42&#39;<\/p>\n<p>print(str(float_num))  # \u8f93\u51fa: &#39;3.14159&#39;<\/p>\n<p>print(str(complex_num))  # \u8f93\u51fa: &#39;(1+2j)&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u683c\u5f0f\u5316\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u63d0\u4f9b\u4e86\u66f4\u7075\u6d3b\u548c\u5f3a\u5927\u7684\u65b9\u5f0f\u6765\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u3002Python\u652f\u6301\u591a\u79cd\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u5305\u62ec\u767e\u5206\u53f7 (%)\u3001<code>str.format()<\/code> \u65b9\u6cd5\u548cf-strings\u3002<\/p>\n<\/p>\n<p><h4>\u767e\u5206\u53f7 (%) \u683c\u5f0f\u5316<\/h4>\n<\/p>\n<p><p>\u8fd9\u662fPython\u4e2d\u6700\u65e9\u548c\u6700\u57fa\u672c\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 123<\/p>\n<p>formatted_str = &quot;%d&quot; % num<\/p>\n<p>print(formatted_str)  # \u8f93\u51fa: &#39;123&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u7528\u4e8e\u6d6e\u70b9\u6570\u548c\u5176\u4ed6\u6570\u503c\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">float_num = 3.14159<\/p>\n<p>formatted_str = &quot;%.2f&quot; % float_num<\/p>\n<p>print(formatted_str)  # \u8f93\u51fa: &#39;3.14&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4><code>str.format()<\/code> \u65b9\u6cd5<\/h4>\n<\/p>\n<p><p><code>str.format()<\/code> \u65b9\u6cd5\u662fPython 3\u4e2d\u5f15\u5165\u7684\u4e00\u79cd\u66f4\u73b0\u4ee3\u548c\u7075\u6d3b\u7684\u683c\u5f0f\u5316\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 123<\/p>\n<p>formatted_str = &quot;{}&quot;.format(num)<\/p>\n<p>print(formatted_str)  # \u8f93\u51fa: &#39;123&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u4e5f\u652f\u6301\u66f4\u590d\u6742\u7684\u683c\u5f0f\u5316\u9009\u9879\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">float_num = 3.14159<\/p>\n<p>formatted_str = &quot;{:.2f}&quot;.format(float_num)<\/p>\n<p>print(formatted_str)  # \u8f93\u51fa: &#39;3.14&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>f-strings<\/h4>\n<\/p>\n<p><p>f-strings \u662fPython 3.6\u4e2d\u5f15\u5165\u7684\u4e00\u79cd\u6700\u4e3a\u7b80\u6d01\u548c\u9ad8\u6548\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\u3002\u5b83\u4eec\u4ee5 <code>f<\/code> \u5f00\u5934\uff0c\u5e76\u5728\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528\u5927\u62ec\u53f7 <code>{}<\/code> \u5305\u542b\u53d8\u91cf\u540d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 123<\/p>\n<p>formatted_str = f&quot;{num}&quot;<\/p>\n<p>print(formatted_str)  # \u8f93\u51fa: &#39;123&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u540c\u6837\u652f\u6301\u590d\u6742\u7684\u683c\u5f0f\u5316\u9009\u9879\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">float_num = 3.14159<\/p>\n<p>formatted_str = f&quot;{float_num:.2f}&quot;<\/p>\n<p>print(formatted_str)  # \u8f93\u51fa: &#39;3.14&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 <code>repr()<\/code> \u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>repr()<\/code> \u51fd\u6570\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u5bf9\u8c61\u7684\u201c\u5b98\u65b9\u201d\u5b57\u7b26\u4e32\u8868\u793a\uff0c\u901a\u5e38\u53ef\u4ee5\u7528\u6765\u91cd\u65b0\u521b\u5efa\u8be5\u5bf9\u8c61\u3002\u867d\u7136\u4e0d\u5982 <code>str()<\/code> \u51fd\u6570\u5e38\u7528\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5b83\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 123<\/p>\n<p>repr_num = repr(num)<\/p>\n<p>print(repr_num)  # \u8f93\u51fa: &#39;123&#39;<\/p>\n<p>print(type(repr_num))  # \u8f93\u51fa: &lt;class &#39;str&#39;&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5e94\u7528\u573a\u666f\u4e0e\u6027\u80fd\u6bd4\u8f83<\/h3>\n<\/p>\n<p><h4>\u7b80\u5355\u7684\u6570\u503c\u8f6c\u6362<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u7b80\u5355\u7684\u6570\u503c\u8f6c\u6362\uff0c<code>str()<\/code> \u51fd\u6570\u662f\u6700\u5e38\u7528\u548c\u9ad8\u6548\u7684\u65b9\u6cd5\u3002\u5b83\u7684\u6027\u80fd\u548c\u6613\u7528\u6027\u4f7f\u5176\u6210\u4e3a\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u7684\u9996\u9009\u3002<\/p>\n<\/p>\n<p><h4>\u9ad8\u5ea6\u81ea\u5b9a\u4e49\u7684\u683c\u5f0f\u5316<\/h4>\n<\/p>\n<p><p>\u5f53\u4f60\u9700\u8981\u9ad8\u5ea6\u81ea\u5b9a\u4e49\u7684\u683c\u5f0f\u5316\u65f6\uff0c\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\uff08\u7279\u522b\u662ff-strings\uff09\u63d0\u4f9b\u4e86\u6781\u5927\u7684\u7075\u6d3b\u6027\u548c\u53ef\u8bfb\u6027\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8c03\u6574\u663e\u793a\u7cbe\u5ea6\u3001\u586b\u5145\u5b57\u7b26\u548c\u5bf9\u9f50\u65b9\u5f0f\u7b49\u3002<\/p>\n<\/p>\n<p><h4>\u9ad8\u6027\u80fd\u9700\u6c42<\/h4>\n<\/p>\n<p><p>\u5728\u9ad8\u6027\u80fd\u9700\u6c42\u7684\u573a\u666f\u4e0b\uff0c\u4f7f\u7528f-strings \u901a\u5e38\u662f\u6700\u4f18\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u4eec\u5728\u5904\u7406\u590d\u6742\u683c\u5f0f\u5316\u65f6\u5177\u6709\u66f4\u9ad8\u7684\u6548\u7387\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import timeit<\/p>\n<p>num = 12345.6789<\/p>\n<h2><strong>\u4f7f\u7528 str()<\/strong><\/h2>\n<p>time_str = timeit.timeit(&quot;str(num)&quot;, globals=globals(), number=1000000)<\/p>\n<p>print(f&quot;str(): {time_str:.5f} seconds&quot;)<\/p>\n<h2><strong>\u4f7f\u7528 format()<\/strong><\/h2>\n<p>time_format = timeit.timeit(&quot;&#39;{:.2f}&#39;.format(num)&quot;, globals=globals(), number=1000000)<\/p>\n<p>print(f&quot;format(): {time_format:.5f} seconds&quot;)<\/p>\n<h2><strong>\u4f7f\u7528 f-string<\/strong><\/h2>\n<p>time_fstring = timeit.timeit(&quot;f&#39;{num:.2f}&#39;&quot;, globals=globals(), number=1000000)<\/p>\n<p>print(f&quot;f-string: {time_fstring:.5f} seconds&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><h4>\u6570\u636e\u7cbe\u5ea6<\/h4>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u6570\u503c\u8f6c\u6362\u65f6\uff0c\u52a1\u5fc5\u6ce8\u610f\u6570\u636e\u7684\u7cbe\u5ea6\u95ee\u9898\u3002\u7279\u522b\u662f\u5728\u6d89\u53ca\u91d1\u878d\u8ba1\u7b97\u6216\u79d1\u5b66\u8ba1\u7b97\u65f6\uff0c\u4fdd\u6301\u6570\u636e\u7684\u7cbe\u5ea6\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">float_num = 3.141592653589793<\/p>\n<p>print(f&quot;{float_num:.2f}&quot;)  # \u8f93\u51fa: &#39;3.14&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u7c7b\u578b\u4e00\u81f4\u6027<\/h4>\n<\/p>\n<p><p>\u786e\u4fdd\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u4fdd\u6301\u6570\u636e\u7c7b\u578b\u7684\u4e00\u81f4\u6027\uff0c\u907f\u514d\u5728\u4e0d\u540c\u7c7b\u578b\u4e4b\u95f4\u8f6c\u6362\u65f6\u51fa\u73b0\u610f\u5916\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">num = 123<\/p>\n<p>str_num = str(num)<\/p>\n<p>int_num = int(str_num)<\/p>\n<p>print(int_num)  # \u8f93\u51fa: 123<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p><strong>\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u662fPython\u7f16\u7a0b\u4e2d\u5e38\u89c1\u800c\u91cd\u8981\u7684\u64cd\u4f5c\u3002<\/strong> \u901a\u8fc7\u4f7f\u7528 <code>str()<\/code> \u51fd\u6570\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\uff08\u5305\u62ec\u767e\u5206\u53f7\u683c\u5f0f\u5316\u3001<code>str.format()<\/code> \u65b9\u6cd5\u548cf-strings\uff09\u4ee5\u53ca <code>repr()<\/code> \u51fd\u6570\uff0c\u6211\u4eec\u53ef\u4ee5\u7075\u6d3b\u5730\u5904\u7406\u5404\u79cd\u8f6c\u6362\u9700\u6c42\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6267\u884c\u6548\u7387\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8fd8\u9700\u8981\u5173\u6ce8\u6570\u636e\u7684\u7cbe\u5ea6\u548c\u7c7b\u578b\u4e00\u81f4\u6027\uff0c\u4ee5\u786e\u4fdd\u8f6c\u6362\u8fc7\u7a0b\u7684\u51c6\u786e\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n<\/p>\n<p><p>\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u638c\u63e1\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u7684\u591a\u79cd\u65b9\u6cd5\u548c\u6280\u5de7\u3002\u5982\u679c\u4f60\u6709\u4efb\u4f55\u95ee\u9898\u6216\u5efa\u8bae\uff0c\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u7559\u8a00\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u6570\u503c\u578b\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>str()<\/code>\u51fd\u6570\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002\u4f8b\u5982\uff0c<code>num = 123<\/code>\u53ef\u4ee5\u901a\u8fc7<code>str(num)<\/code>\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<code>&quot;123&quot;<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u6574\u6570\u3001\u6d6e\u70b9\u6570\u7b49\u6570\u503c\u7c7b\u578b\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5c06\u6570\u503c\u578b\u5217\u8868\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u5217\u8868\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u6570\u503c\u578b\u5217\u8868\uff0c\u6bd4\u5982<code>numbers = [1, 2, 3, 4]<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u5c06\u5176\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u5217\u8868\u3002\u793a\u4f8b\u4ee3\u7801\u4e3a<code>string_numbers = [str(num) for num in numbers]<\/code>\uff0c\u7ed3\u679c\u5c06\u662f<code>[&quot;1&quot;, &quot;2&quot;, &quot;3&quot;, &quot;4&quot;]<\/code>\u3002<\/p>\n<p><strong>Python\u4e2d\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u683c\u5f0f\u5316\u65b9\u6cd5\u5c06\u6570\u503c\u578b\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u786e\u5b9e\u53ef\u4ee5\uff01Python\u63d0\u4f9b\u4e86\u591a\u79cd\u683c\u5f0f\u5316\u65b9\u6cd5\u6765\u5c06\u6570\u503c\u578b\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002\u4f7f\u7528<code>format()<\/code>\u65b9\u6cd5\u6216f-strings\uff08\u5728Python 3.6\u53ca\u4ee5\u4e0a\u7248\u672c\uff09\u90fd\u80fd\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c<code>formatted_string = &quot;The number is {}&quot;.format(num)<\/code>\u6216<code>formatted_string = f&quot;The number is {num}&quot;<\/code>\u90fd\u4f1a\u5c06\u6570\u503c<code>num<\/code>\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u5e76\u5d4c\u5165\u5230\u53e5\u5b50\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u503c\u578b\u53d8\u91cf\u8f6c\u6362\u4e3a\u5b57\u7b26\u578b\u53d8\u91cf\u3002\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u7684 str() \u51fd\u6570\u3001\u683c [&hellip;]","protected":false},"author":3,"featured_media":1135539,"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\/1135536"}],"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=1135536"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1135536\/revisions"}],"predecessor-version":[{"id":1135540,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1135536\/revisions\/1135540"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1135539"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1135536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1135536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1135536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}