{"id":1074308,"date":"2025-01-08T11:33:24","date_gmt":"2025-01-08T03:33:24","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1074308.html"},"modified":"2025-01-08T11:33:26","modified_gmt":"2025-01-08T03:33:26","slug":"%e5%a6%82%e4%bd%95%e5%8e%bb%e6%8e%89python%e5%88%97%e8%a1%a8%e4%b8%ad%e7%9a%84%e5%8d%95%e5%bc%95%e5%8f%b7-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1074308.html","title":{"rendered":"\u5982\u4f55\u53bb\u6389python\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104004\/03714319-89a4-414d-a013-6e1303d6b3ec.webp\" alt=\"\u5982\u4f55\u53bb\u6389python\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7\" \/><\/p>\n<p><p> <strong>\u8981\u53bb\u6389Python\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u5217\u8868\u89e3\u6790\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u7b49\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u5217\u8868\u89e3\u6790<\/strong>\u662f\u6700\u5e38\u7528\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002\u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u5217\u8868\u89e3\u6790\u53ef\u4ee5\u5c06\u539f\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u5e76\u53bb\u9664\u5355\u5f15\u53f7\u3002\u5177\u4f53\u65b9\u6cd5\u662f\u904d\u5386\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u5c06\u5176\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u540e\uff0c\u518d\u62fc\u63a5\u6210\u65b0\u7684\u5b57\u7b26\u4e32\uff0c\u6700\u7ec8\u5f62\u6210\u6ca1\u6709\u5355\u5f15\u53f7\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u4f7f\u7528\u5217\u8868\u89e3\u6790<\/h2>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u7b80\u6d01\u9ad8\u6548\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u4e00\u884c\u4ee3\u7801\u5185\u5b8c\u6210\u5bf9\u5217\u8868\u4e2d\u5143\u7d20\u7684\u64cd\u4f5c\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/p>\n<p>result = &#39;, &#39;.join([str(item) for item in my_list])<\/p>\n<p>print(result)  # \u8f93\u51fa: apple, banana, cherry<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u9996\u5148\u5c06\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u4f7f\u7528 <code>join()<\/code> \u65b9\u6cd5\u5c06\u5b83\u4eec\u62fc\u63a5\u6210\u4e00\u4e2a\u6ca1\u6709\u5355\u5f15\u53f7\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u7684 <code>join()<\/code> \u65b9\u6cd5<\/h2>\n<\/p>\n<p><p><code>join()<\/code> \u65b9\u6cd5\u53ef\u4ee5\u5c06\u5217\u8868\u4e2d\u7684\u5143\u7d20\u7ec4\u5408\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u9002\u7528\u4e8e\u9700\u8981\u5c06\u5217\u8868\u8f6c\u6362\u4e3a\u65e0\u5355\u5f15\u53f7\u5b57\u7b26\u4e32\u7684\u573a\u666f\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/p>\n<p>result = &#39;, &#39;.join(my_list)<\/p>\n<p>print(result)  # \u8f93\u51fa: apple, banana, cherry<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u76f4\u63a5\u4f7f\u7528 <code>join()<\/code> \u65b9\u6cd5\u5c06\u5217\u8868\u4e2d\u7684\u5143\u7d20\u7ec4\u5408\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u4ece\u800c\u53bb\u9664\u4e86\u5355\u5f15\u53f7\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528 <code>map()<\/code> \u51fd\u6570<\/h2>\n<\/p>\n<p><p><code>map()<\/code> \u51fd\u6570\u53ef\u4ee5\u5c06\u6307\u5b9a\u7684\u51fd\u6570\u5e94\u7528\u4e8e\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 <code>map()<\/code> \u51fd\u6570\u5c06\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u518d\u4f7f\u7528 <code>join()<\/code> \u65b9\u6cd5\u62fc\u63a5\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/p>\n<p>result = &#39;, &#39;.join(map(str, my_list))<\/p>\n<p>print(result)  # \u8f93\u51fa: apple, banana, cherry<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>map()<\/code> \u51fd\u6570\u5c06 <code>str<\/code> \u51fd\u6570\u5e94\u7528\u4e8e\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u7136\u540e\u4f7f\u7528 <code>join()<\/code> \u65b9\u6cd5\u5c06\u5b83\u4eec\u7ec4\u5408\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h2>\u56db\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\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u5404\u79cd\u5b57\u7b26\u4e32\u64cd\u4f5c\u3002\u5728\u8fd9\u4e2a\u573a\u666f\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53bb\u9664\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>my_list = [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/p>\n<p>result = re.sub(r&quot;[\\[\\]&#39;]&quot;, &#39;&#39;, str(my_list))<\/p>\n<p>print(result)  # \u8f93\u51fa: apple, banana, cherry<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u9996\u5148\u5c06\u5217\u8868\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f <code>re.sub()<\/code> \u65b9\u6cd5\u53bb\u9664\u5b57\u7b26\u4e32\u4e2d\u7684\u5355\u5f15\u53f7\u548c\u65b9\u62ec\u53f7\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u624b\u52a8\u904d\u5386\u5217\u8868<\/h2>\n<\/p>\n<p><p>\u867d\u7136\u4e0a\u8ff0\u65b9\u6cd5\u5df2\u7ecf\u975e\u5e38\u7b80\u6d01\uff0c\u4f46\u6709\u65f6\u6211\u4eec\u53ef\u80fd\u9700\u8981\u624b\u52a8\u904d\u5386\u5217\u8868\uff0c\u4ee5\u6ee1\u8db3\u7279\u5b9a\u9700\u6c42\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u624b\u52a8\u904d\u5386\u5217\u8868\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/p>\n<p>result = &#39;&#39;<\/p>\n<p>for item in my_list:<\/p>\n<p>    result += item + &#39;, &#39;<\/p>\n<p>result = result[:-2]  # \u53bb\u9664\u6700\u540e\u7684\u9017\u53f7\u548c\u7a7a\u683c<\/p>\n<p>print(result)  # \u8f93\u51fa: apple, banana, cherry<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u901a\u8fc7\u904d\u5386\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u5c06\u5b83\u4eec\u62fc\u63a5\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u5e76\u53bb\u9664\u6700\u540e\u7684\u9017\u53f7\u548c\u7a7a\u683c\u3002<\/p>\n<\/p>\n<p><h2>\u516d\u3001\u4f7f\u7528 <code>ast.literal_eval<\/code><\/h2>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u7684\u5217\u8868\u662f\u4ee5\u5b57\u7b26\u4e32\u5f62\u5f0f\u8868\u793a\u7684\uff0c\u4f8b\u5982 <code>&quot;[ &#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39; ]&quot;<\/code>\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528 <code>ast.literal_eval<\/code> \u5c06\u5176\u8f6c\u6362\u4e3a\u5b9e\u9645\u7684\u5217\u8868\uff0c\u7136\u540e\u518d\u8fdb\u884c\u5904\u7406\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import ast<\/p>\n<p>my_list_str = &quot;[ &#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39; ]&quot;<\/p>\n<p>my_list = ast.literal_eval(my_list_str)<\/p>\n<p>result = &#39;, &#39;.join(my_list)<\/p>\n<p>print(result)  # \u8f93\u51fa: apple, banana, cherry<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u4f7f\u7528 <code>ast.literal_eval<\/code> \u5c06\u5b57\u7b26\u4e32\u5f62\u5f0f\u7684\u5217\u8868\u8f6c\u6362\u4e3a\u5b9e\u9645\u7684\u5217\u8868\uff0c\u7136\u540e\u4f7f\u7528 <code>join()<\/code> \u65b9\u6cd5\u5c06\u5176\u8f6c\u6362\u4e3a\u6ca1\u6709\u5355\u5f15\u53f7\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h2>\u4e03\u3001\u5904\u7406\u590d\u6742\u6570\u636e\u7c7b\u578b<\/h2>\n<\/p>\n<p><p>\u5982\u679c\u5217\u8868\u4e2d\u5305\u542b\u590d\u6742\u6570\u636e\u7c7b\u578b\uff0c\u4f8b\u5982\u5d4c\u5957\u5217\u8868\u3001\u5b57\u5178\u7b49\uff0c\u53ef\u80fd\u9700\u8981\u9012\u5f52\u5904\u7406\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_quotes(item):<\/p>\n<p>    if isinstance(item, list):<\/p>\n<p>        return [remove_quotes(i) for i in item]<\/p>\n<p>    elif isinstance(item, dict):<\/p>\n<p>        return {remove_quotes(k): remove_quotes(v) for k, v in item.items()}<\/p>\n<p>    elif isinstance(item, str):<\/p>\n<p>        return item<\/p>\n<p>    else:<\/p>\n<p>        return str(item)<\/p>\n<p>my_list = [&#39;apple&#39;, [&#39;banana&#39;, &#39;cherry&#39;], {&#39;fruit&#39;: &#39;date&#39;}]<\/p>\n<p>result = remove_quotes(my_list)<\/p>\n<p>print(result)  # \u8f93\u51fa: [&#39;apple&#39;, [&#39;banana&#39;, &#39;cherry&#39;], {&#39;fruit&#39;: &#39;date&#39;}]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5b9a\u4e49\u4e86\u4e00\u4e2a\u9012\u5f52\u51fd\u6570 <code>remove_quotes<\/code>\uff0c\u53ef\u4ee5\u5904\u7406\u5d4c\u5957\u5217\u8868\u548c\u5b57\u5178\u4e2d\u7684\u5355\u5f15\u53f7\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h2>\u516b\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u53bb\u6389Python\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec<strong>\u5217\u8868\u89e3\u6790\u3001\u5b57\u7b26\u4e32\u7684 <code>join()<\/code> \u65b9\u6cd5\u3001 <code>map()<\/code> \u51fd\u6570\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u624b\u52a8\u904d\u5386\u5217\u8868\u3001 <code>ast.literal_eval<\/code><\/strong> \u7b49\u3002\u6839\u636e\u5177\u4f53\u60c5\u51b5\u548c\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5904\u7406\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7\u95ee\u9898\u3002\u5728\u5904\u7406\u590d\u6742\u6570\u636e\u7c7b\u578b\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u9012\u5f52\u5904\u7406\u4ee5\u786e\u4fdd\u6240\u6709\u5d4c\u5957\u7ed3\u6784\u4e2d\u7684\u5355\u5f15\u53f7\u90fd\u88ab\u6b63\u786e\u53bb\u9664\u3002\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u6700\u7ec8\u76ee\u6807\u662f\u5c06\u5217\u8868\u4e2d\u7684\u5143\u7d20\u8f6c\u6362\u4e3a\u6240\u9700\u7684\u65e0\u5355\u5f15\u53f7\u683c\u5f0f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u5217\u8868\u4e2d\u53bb\u6389\u5b57\u7b26\u4e32\u7684\u5f15\u53f7\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u5217\u8868\u4e2d\u7684\u5b57\u7b26\u4e32\u662f\u7528\u5f15\u53f7\u5305\u56f4\u7684\u3002\u8fd9\u4e9b\u5f15\u53f7\u662fPython\u8bed\u6cd5\u7684\u4e00\u90e8\u5206\uff0c\u800c\u4e0d\u662f\u5b57\u7b26\u4e32\u7684\u4e00\u90e8\u5206\u3002\u5982\u679c\u4f60\u60f3\u5728\u6253\u5370\u6216\u5c55\u793a\u65f6\u53bb\u6389\u5f15\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u6bd4\u5982<code>join<\/code>\u51fd\u6570\u6765\u8fde\u63a5\u5217\u8868\u4e2d\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>&#39;, &#39;.join(my_list)<\/code>\u53ef\u4ee5\u751f\u6210\u4e00\u4e2a\u6ca1\u6709\u5f15\u53f7\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u5728Python\u5217\u8868\u4e2d\u4f7f\u7528\u54ea\u4e9b\u65b9\u6cd5\u6765\u5904\u7406\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5904\u7406\u5217\u8868\u4e2d\u7684\u5b57\u7b26\u4e32\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>strip()<\/code>\u65b9\u6cd5\u53bb\u6389\u5b57\u7b26\u4e32\u4e24\u7aef\u7684\u7a7a\u767d\u5b57\u7b26\uff0c\u6216\u4f7f\u7528<code>replace(old, new)<\/code>\u65b9\u6cd5\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u5b57\u7b26\u3002\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u5bf9\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u4ece\u800c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c06Python\u5217\u8868\u8f6c\u6362\u4e3a\u4e0d\u5e26\u5f15\u53f7\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\uff1f<\/strong><br \/>\u5982\u679c\u5e0c\u671b\u5c06Python\u5217\u8868\u8f6c\u6362\u4e3a\u4e00\u4e2a\u4e0d\u5e26\u5f15\u53f7\u7684\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528<code>str.join()<\/code>\u51fd\u6570\u3002\u901a\u8fc7\u6307\u5b9a\u5206\u9694\u7b26\uff0c\u53ef\u4ee5\u5c06\u5217\u8868\u4e2d\u7684\u5143\u7d20\u8fde\u63a5\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u800c\u4e0d\u5305\u62ec\u5f15\u53f7\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6709\u4e00\u4e2a\u5217\u8868<code>my_list = [&#39;apple&#39;, &#39;banana&#39;, &#39;cherry&#39;]<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528<code>result = &#39;, &#39;.join(my_list)<\/code>\u6765\u751f\u6210<code>&#39;apple, banana, cherry&#39;<\/code>\u8fd9\u6837\u7684\u5b57\u7b26\u4e32\uff0c\u800c\u4e0d\u662f\u5e26\u5f15\u53f7\u7684\u5f62\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u53bb\u6389Python\u5217\u8868\u4e2d\u7684\u5355\u5f15\u53f7\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u5217\u8868\u89e3\u6790\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u7b49\u3002 \u5176\u4e2d\uff0c\u5217\u8868\u89e3\u6790\u662f [&hellip;]","protected":false},"author":3,"featured_media":1074311,"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\/1074308"}],"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=1074308"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1074308\/revisions"}],"predecessor-version":[{"id":1074312,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1074308\/revisions\/1074312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1074311"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1074308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1074308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1074308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}