{"id":1109248,"date":"2025-01-08T17:08:17","date_gmt":"2025-01-08T09:08:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1109248.html"},"modified":"2025-01-08T17:08:20","modified_gmt":"2025-01-08T09:08:20","slug":"%e7%94%a8python%e5%a6%82%e4%bd%95%e5%88%a0%e9%99%a4%e5%88%97%e8%a1%a8%e4%b8%ad%e6%8c%87%e5%ae%9a%e7%9a%84%e5%ad%97%e5%85%b8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1109248.html","title":{"rendered":"\u7528python\u5982\u4f55\u5220\u9664\u5217\u8868\u4e2d\u6307\u5b9a\u7684\u5b57\u5178"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072610\/bc0dbc22-9008-4fa6-94e8-c5dea47c2306.webp\" alt=\"\u7528python\u5982\u4f55\u5220\u9664\u5217\u8868\u4e2d\u6307\u5b9a\u7684\u5b57\u5178\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528 Python \u5220\u9664\u5217\u8868\u4e2d\u6307\u5b9a\u7684\u5b57\u5178\u7684\u65b9\u6cd5\u6709\uff1a\u904d\u5386\u5217\u8868\u5e76\u7528\u6761\u4ef6\u5224\u65ad\u3001\u4f7f\u7528\u5217\u8868\u89e3\u6790\u3001\u4f7f\u7528 filter \u51fd\u6570\u3002<\/strong> \u5176\u4e2d\uff0c\u904d\u5386\u5217\u8868\u5e76\u7528\u6761\u4ef6\u5224\u65ad\u662f\u4e00\u79cd\u8f83\u4e3a\u5e38\u89c1\u4e14\u6613\u4e8e\u7406\u89e3\u7684\u65b9\u6cd5\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u904d\u5386\u5217\u8868\uff0c\u68c0\u67e5\u6bcf\u4e2a\u5b57\u5178\u662f\u5426\u7b26\u5408\u5220\u9664\u6761\u4ef6\uff0c\u5982\u679c\u7b26\u5408\u6761\u4ef6\u5219\u5c06\u5176\u4ece\u5217\u8868\u4e2d\u79fb\u9664\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u904d\u5386\u5217\u8868\u5e76\u7528\u6761\u4ef6\u5224\u65ad<\/h2>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u662f\u6700\u5e38\u89c1\u4e14\u6613\u4e8e\u7406\u89e3\u7684\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u904d\u5386\u5217\u8868\u6765\u68c0\u67e5\u6bcf\u4e2a\u5b57\u5178\u662f\u5426\u7b26\u5408\u5220\u9664\u6761\u4ef6\u3002\u5982\u679c\u7b26\u5408\u6761\u4ef6\uff0c\u5219\u5c06\u5176\u4ece\u5217\u8868\u4e2d\u79fb\u9664\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [<\/p>\n<p>    {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 25},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 30},<\/p>\n<p>    {&quot;name&quot;: &quot;Charlie&quot;, &quot;age&quot;: 35}<\/p>\n<p>]<\/p>\n<h2><strong>\u8981\u5220\u9664 age \u4e3a 30 \u7684\u5b57\u5178<\/strong><\/h2>\n<p>age_to_remove = 30<\/p>\n<h2><strong>\u904d\u5386\u5217\u8868\u5e76\u5220\u9664\u7b26\u5408\u6761\u4ef6\u7684\u5b57\u5178<\/strong><\/h2>\n<p>for item in data[:]:<\/p>\n<p>    if item[&quot;age&quot;] == age_to_remove:<\/p>\n<p>        data.remove(item)<\/p>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u904d\u5386\u4e86 <code>data<\/code> \u5217\u8868\uff0c\u5e76\u4f7f\u7528 <code>if<\/code> \u8bed\u53e5\u68c0\u67e5\u6bcf\u4e2a\u5b57\u5178\u7684 <code>age<\/code> \u952e\u662f\u5426\u7b49\u4e8e <code>age_to_remove<\/code>\u3002\u5982\u679c\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u4ece\u5217\u8868\u4e2d\u5220\u9664\u8be5\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u4f7f\u7528\u5217\u8868\u89e3\u6790<\/h2>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u66f4\u7b80\u6d01\u7684\u65b9\u6cd5\u6765\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u4e0d\u5305\u542b\u9700\u8981\u5220\u9664\u7684\u5b57\u5178\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [<\/p>\n<p>    {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 25},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 30},<\/p>\n<p>    {&quot;name&quot;: &quot;Charlie&quot;, &quot;age&quot;: 35}<\/p>\n<p>]<\/p>\n<h2><strong>\u8981\u5220\u9664 age \u4e3a 30 \u7684\u5b57\u5178<\/strong><\/h2>\n<p>age_to_remove = 30<\/p>\n<h2><strong>\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u65b0\u7684\u5217\u8868<\/strong><\/h2>\n<p>data = [item for item in data if item[&quot;age&quot;] != age_to_remove]<\/p>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u5305\u542b <code>data<\/code> \u4e2d\u6240\u6709 <code>age<\/code> \u4e0d\u7b49\u4e8e <code>age_to_remove<\/code> \u7684\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528 filter \u51fd\u6570<\/h2>\n<\/p>\n<p><p><code>filter<\/code> \u51fd\u6570\u4e5f\u662f\u4e00\u79cd\u5220\u9664\u5217\u8868\u4e2d\u6307\u5b9a\u5b57\u5178\u7684\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u751f\u6210\u4e00\u4e2a\u8fc7\u6ee4\u540e\u7684\u8fed\u4ee3\u5668\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [<\/p>\n<p>    {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 25},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 30},<\/p>\n<p>    {&quot;name&quot;: &quot;Charlie&quot;, &quot;age&quot;: 35}<\/p>\n<p>]<\/p>\n<h2><strong>\u8981\u5220\u9664 age \u4e3a 30 \u7684\u5b57\u5178<\/strong><\/h2>\n<p>age_to_remove = 30<\/p>\n<h2><strong>\u4f7f\u7528 filter \u51fd\u6570\u751f\u6210\u65b0\u7684\u5217\u8868<\/strong><\/h2>\n<p>data = list(filter(lambda item: item[&quot;age&quot;] != age_to_remove, data))<\/p>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 <code>filter<\/code> \u51fd\u6570\u548c\u4e00\u4e2a lambda \u8868\u8fbe\u5f0f\u751f\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u5305\u542b <code>data<\/code> \u4e2d\u6240\u6709 <code>age<\/code> \u4e0d\u7b49\u4e8e <code>age_to_remove<\/code> \u7684\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u6839\u636e\u952e\u503c\u5220\u9664\u5b57\u5178<\/h2>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u6839\u636e\u5b57\u5178\u4e2d\u7684\u67d0\u4e2a\u952e\u503c\u5bf9\u6765\u5220\u9664\u5b57\u5178\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5220\u9664\u6240\u6709 <code>name<\/code> \u4e3a &quot;Bob&quot; \u7684\u5b57\u5178\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [<\/p>\n<p>    {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 25},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 30},<\/p>\n<p>    {&quot;name&quot;: &quot;Charlie&quot;, &quot;age&quot;: 35},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 40}<\/p>\n<p>]<\/p>\n<h2><strong>\u8981\u5220\u9664 name \u4e3a &quot;Bob&quot; \u7684\u5b57\u5178<\/strong><\/h2>\n<p>name_to_remove = &quot;Bob&quot;<\/p>\n<h2><strong>\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u65b0\u7684\u5217\u8868<\/strong><\/h2>\n<p>data = [item for item in data if item[&quot;name&quot;] != name_to_remove]<\/p>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u5305\u542b <code>data<\/code> \u4e2d\u6240\u6709 <code>name<\/code> \u4e0d\u7b49\u4e8e <code>name_to_remove<\/code> \u7684\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u5220\u9664\u591a\u4e2a\u6761\u4ef6\u5339\u914d\u7684\u5b57\u5178<\/h2>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5220\u9664\u591a\u4e2a\u6761\u4ef6\u5339\u914d\u7684\u5b57\u5178\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u9700\u8981\u5220\u9664\u6240\u6709 <code>name<\/code> \u4e3a &quot;Bob&quot; \u4e14 <code>age<\/code> \u5927\u4e8e 35 \u7684\u5b57\u5178\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = [<\/p>\n<p>    {&quot;name&quot;: &quot;Alice&quot;, &quot;age&quot;: 25},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 30},<\/p>\n<p>    {&quot;name&quot;: &quot;Charlie&quot;, &quot;age&quot;: 35},<\/p>\n<p>    {&quot;name&quot;: &quot;Bob&quot;, &quot;age&quot;: 40}<\/p>\n<p>]<\/p>\n<h2><strong>\u8981\u5220\u9664 name \u4e3a &quot;Bob&quot; \u4e14 age \u5927\u4e8e 35 \u7684\u5b57\u5178<\/strong><\/h2>\n<p>name_to_remove = &quot;Bob&quot;<\/p>\n<p>age_limit = 35<\/p>\n<h2><strong>\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u65b0\u7684\u5217\u8868<\/strong><\/h2>\n<p>data = [item for item in data if not (item[&quot;name&quot;] == name_to_remove and item[&quot;age&quot;] &gt; age_limit)]<\/p>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u5217\u8868\u89e3\u6790\u751f\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u5305\u542b <code>data<\/code> \u4e2d\u6240\u6709 <code>name<\/code> \u4e0d\u7b49\u4e8e <code>name_to_remove<\/code> \u6216 <code>age<\/code> \u5c0f\u4e8e\u7b49\u4e8e <code>age_limit<\/code> \u7684\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><h2>\u516d\u3001\u5220\u9664\u5b57\u5178\u7684\u6ce8\u610f\u4e8b\u9879<\/h2>\n<\/p>\n<p><p>\u5728\u5220\u9664\u5217\u8868\u4e2d\u7684\u5b57\u5178\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u907f\u514d\u76f4\u63a5\u5728\u904d\u5386\u5217\u8868\u65f6\u4fee\u6539\u5217\u8868<\/strong>\uff1a\u5728\u904d\u5386\u5217\u8868\u65f6\u76f4\u63a5\u4fee\u6539\u5217\u8868\u53ef\u80fd\u4f1a\u5bfc\u81f4\u610f\u5916\u884c\u4e3a\uff0c\u5efa\u8bae\u4f7f\u7528\u5217\u8868\u89e3\u6790\u6216 <code>filter<\/code> \u51fd\u6570\u751f\u6210\u65b0\u7684\u5217\u8868\u3002<\/li>\n<li><strong>\u6ce8\u610f\u5b57\u5178\u7684\u952e\u503c\u5bf9<\/strong>\uff1a\u5220\u9664\u5b57\u5178\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u6761\u4ef6\u5224\u65ad\u4e2d\u4f7f\u7528\u7684\u952e\u548c\u503c\u662f\u6b63\u786e\u7684\u3002\u5426\u5219\uff0c\u53ef\u80fd\u4f1a\u5220\u9664\u9519\u8bef\u7684\u5b57\u5178\u3002<\/li>\n<li><strong>\u6027\u80fd\u8003\u8651<\/strong>\uff1a\u5bf9\u4e8e\u5927\u5217\u8868\uff0c\u4f7f\u7528\u5217\u8868\u89e3\u6790\u6216 <code>filter<\/code> \u51fd\u6570\u53ef\u80fd\u6bd4\u904d\u5386\u5217\u8868\u5e76\u5220\u9664\u5b57\u5178\u66f4\u9ad8\u6548\u3002\u56e0\u4e3a\u8fd9\u4e24\u79cd\u65b9\u6cd5\u4f1a\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u800c\u4e0d\u662f\u5728\u539f\u5217\u8868\u4e0a\u8fdb\u884c\u4fee\u6539\u3002<\/li>\n<\/ol>\n<p><p>\u4ee5\u4e0a\u662f\u4f7f\u7528 Python \u5220\u9664\u5217\u8868\u4e2d\u6307\u5b9a\u5b57\u5178\u7684\u51e0\u79cd\u65b9\u6cd5\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u7075\u6d3b\u5730\u6839\u636e\u4e0d\u540c\u7684\u9700\u6c42\u6765\u5220\u9664\u5217\u8868\u4e2d\u7684\u5b57\u5178\u3002\u65e0\u8bba\u662f\u6839\u636e\u5355\u4e2a\u6761\u4ef6\u8fd8\u662f\u591a\u4e2a\u6761\u4ef6\uff0c\u6211\u4eec\u90fd\u53ef\u4ee5\u627e\u5230\u5408\u9002\u7684\u65b9\u6cd5\u6765\u5b9e\u73b0\u5220\u9664\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u5220\u9664\u5b57\u5178\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u5220\u9664\u5b57\u5178\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a\u5b57\u5178\u5217\u8868\uff0c\u60f3\u8981\u5220\u9664\u6240\u6709\u5305\u542b\u7279\u5b9a\u952e\u503c\u5bf9\u7684\u5b57\u5178\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">my_list = [{&#39;name&#39;: &#39;Alice&#39;, &#39;age&#39;: 25}, {&#39;name&#39;: &#39;Bob&#39;, &#39;age&#39;: 30}, {&#39;name&#39;: &#39;Charlie&#39;, &#39;age&#39;: 25}]\nfiltered_list = [d for d in my_list if d[&#39;age&#39;] != 25]\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u53bb\u6389\u4e86\u6240\u6709\u5e74\u9f84\u4e3a25\u7684\u5b57\u5178\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u901a\u8fc7\u5b57\u5178\u7684\u67d0\u4e2a\u952e\u6765\u5220\u9664\u5b57\u5178\uff1f<\/strong><br \/>\u53ef\u4ee5\u5229\u7528<code>filter()<\/code>\u51fd\u6570\u7ed3\u5408<code>lambda<\/code>\u8868\u8fbe\u5f0f\u5220\u9664\u5b57\u5178\u3002\u5982\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">my_list = [{&#39;name&#39;: &#39;Alice&#39;}, {&#39;name&#39;: &#39;Bob&#39;}, {&#39;name&#39;: &#39;Charlie&#39;}]\nnew_list = list(filter(lambda d: d[&#39;name&#39;] != &#39;Bob&#39;, my_list))\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6240\u6709\u540d\u5b57\u4e3a&#39;Bob&#39;\u7684\u5b57\u5178\u90fd\u4f1a\u88ab\u8fc7\u6ee4\u6389\uff0c\u751f\u6210\u65b0\u7684\u5217\u8868\u3002<\/p>\n<p><strong>\u5220\u9664\u5b57\u5178\u5217\u8868\u4e2d\u91cd\u590d\u7684\u5b57\u5178\u7684\u6709\u6548\u65b9\u6cd5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5982\u679c\u9700\u8981\u5220\u9664\u5217\u8868\u4e2d\u91cd\u590d\u7684\u5b57\u5178\uff0c\u53ef\u4ee5\u4f7f\u7528\u96c6\u5408\u7684\u7279\u6027\u3002\u7531\u4e8e\u5b57\u5178\u662f\u4e0d\u53ef\u54c8\u5e0c\u7684\uff0c\u9996\u5148\u53ef\u4ee5\u5c06\u5b57\u5178\u8f6c\u6362\u4e3a\u5143\u7ec4\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">my_list = [{&#39;name&#39;: &#39;Alice&#39;}, {&#39;name&#39;: &#39;Bob&#39;}, {&#39;name&#39;: &#39;Alice&#39;}]\nunique_list = list({tuple(d.items()): d for d in my_list}.values())\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u53ea\u4fdd\u7559\u552f\u4e00\u7684\u5b57\u5178\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528 Python \u5220\u9664\u5217\u8868\u4e2d\u6307\u5b9a\u7684\u5b57\u5178\u7684\u65b9\u6cd5\u6709\uff1a\u904d\u5386\u5217\u8868\u5e76\u7528\u6761\u4ef6\u5224\u65ad\u3001\u4f7f\u7528\u5217\u8868\u89e3\u6790\u3001\u4f7f\u7528 filter \u51fd\u6570 [&hellip;]","protected":false},"author":3,"featured_media":1109256,"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\/1109248"}],"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=1109248"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1109248\/revisions"}],"predecessor-version":[{"id":1109258,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1109248\/revisions\/1109258"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1109256"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1109248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1109248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1109248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}