{"id":1051079,"date":"2024-12-31T14:13:19","date_gmt":"2024-12-31T06:13:19","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1051079.html"},"modified":"2024-12-31T14:13:21","modified_gmt":"2024-12-31T06:13:21","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e5%88%97%e8%a1%a8%e6%98%af%e5%90%a6%e4%b8%ba%e7%a9%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1051079.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/448faf19-51be-43cc-b084-d7c18596fccf.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u4e2d\u5982\u4f55\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528 <code>if not<\/code> \u8bed\u53e5\u3001\u4f7f\u7528 <code>len()<\/code> \u51fd\u6570\u3001\u4f7f\u7528\u6bd4\u8f83\u64cd\u4f5c\u7b26 <code>==<\/code>\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528 <code>if not<\/code> \u8bed\u53e5\u3002<\/strong> \u8fd9\u91cc\u5c06\u8be6\u7ec6\u89e3\u91ca\u6700\u5e38\u7528\u7684 <code>if not<\/code> \u8bed\u53e5\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528 <code>if not<\/code> \u8bed\u53e5\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5c06\u5217\u8868\u5bf9\u8c61\u653e\u5728\u6761\u4ef6\u5224\u65ad\u4e2d\uff0cPython\u4f1a\u81ea\u52a8\u5224\u65ad\u5217\u8868\u7684\u771f\u503c\u3002\u4e00\u4e2a\u7a7a\u5217\u8868\u5728\u5e03\u5c14\u4e0a\u4e0b\u6587\u4e2d\u7b49\u4ef7\u4e8e <code>False<\/code>\uff0c\u800c\u975e\u7a7a\u5217\u8868\u7b49\u4ef7\u4e8e <code>True<\/code>\u3002\u56e0\u6b64\uff0c\u53ef\u4ee5\u7b80\u5355\u5730\u4f7f\u7528 <code>if not<\/code> \u8bed\u53e5\u6765\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = []<\/p>\n<p>if not my_list:<\/p>\n<p>    print(&quot;\u5217\u8868\u4e3a\u7a7a&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u5217\u8868\u4e0d\u4e3a\u7a7a&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c<code>if not my_list:<\/code> \u5c06\u68c0\u67e5\u5217\u8868 <code>my_list<\/code> \u662f\u5426\u4e3a\u7a7a\u3002\u5982\u679c <code>my_list<\/code> \u4e3a\u7a7a\uff0c\u5219\u6761\u4ef6\u4e3a <code>True<\/code>\uff0c\u6253\u5370\u201c\u5217\u8868\u4e3a\u7a7a\u201d\uff1b\u5426\u5219\uff0c\u6253\u5370\u201c\u5217\u8868\u4e0d\u4e3a\u7a7a\u201d\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 <code>if not<\/code> \u8bed\u53e5<\/h3>\n<\/p>\n<p><p><code>if not<\/code> \u8bed\u53e5\u662f\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u7684\u6700\u7b80\u6d01\u548c\u63a8\u8350\u7684\u65b9\u5f0f\u3002\u5b83\u5229\u7528\u4e86Python\u4e2d\u7a7a\u5217\u8868\u7684\u771f\u503c\u5224\u65ad\u7279\u6027\uff0c\u975e\u5e38\u76f4\u89c2\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = []<\/p>\n<p>if not my_list:<\/p>\n<p>    print(&quot;\u5217\u8868\u4e3a\u7a7a&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u7684\u597d\u5904\u662f\u4ee3\u7801\u7b80\u6d01\u6613\u8bfb\uff0c\u9002\u5408\u5927\u591a\u6570\u573a\u666f\uff0c\u7279\u522b\u662f\u5f53\u4f60\u9700\u8981\u5feb\u901f\u8fdb\u884c\u5217\u8868\u7a7a\u5224\u65ad\u65f6\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 <code>len()<\/code> \u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>len()<\/code> \u51fd\u6570\u8fd4\u56de\u5217\u8868\u7684\u957f\u5ea6\uff0c\u53ef\u4ee5\u901a\u8fc7\u5224\u65ad\u957f\u5ea6\u662f\u5426\u4e3a0\u6765\u786e\u5b9a\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = []<\/p>\n<p>if len(my_list) == 0:<\/p>\n<p>    print(&quot;\u5217\u8868\u4e3a\u7a7a&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u663e\u5f97\u66f4\u52a0\u76f4\u89c2\uff0c\u4f46\u76f8\u6bd4 <code>if not<\/code> \u8bed\u53e5\u7a0d\u5fae\u5197\u957f\u4e86\u4e00\u4e9b\u3002\u5728\u9700\u8981\u660e\u786e\u77e5\u9053\u5217\u8868\u957f\u5ea6\u7684\u573a\u666f\u4e0b\uff0c\u8fd9\u79cd\u65b9\u6cd5\u8fd8\u662f\u5f88\u6709\u7528\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u6bd4\u8f83\u64cd\u4f5c\u7b26 <code>==<\/code><\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u5c06\u5217\u8868\u76f4\u63a5\u4e0e\u7a7a\u5217\u8868 <code>[]<\/code> \u8fdb\u884c\u6bd4\u8f83\uff0c\u4ee5\u5224\u65ad\u5176\u662f\u5426\u4e3a\u7a7a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = []<\/p>\n<p>if my_list == []:<\/p>\n<p>    print(&quot;\u5217\u8868\u4e3a\u7a7a&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u663e\u5f97\u66f4\u52a0\u660e\u786e\uff0c\u4f46\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\u5e76\u4e0d\u5982 <code>if not<\/code> \u8bed\u53e5\u7b80\u6d01\u3002\u9002\u7528\u4e8e\u9700\u8981\u548c\u5176\u4ed6\u5bf9\u8c61\u8fdb\u884c\u591a\u91cd\u6bd4\u8f83\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5e94\u7528\u573a\u666f\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u8fd9\u4e9b\u5224\u65ad\u65b9\u6cd5\u7684\u5e94\u7528\u573a\u666f\uff0c\u4e0b\u9762\u5217\u4e3e\u4e00\u4e9b\u5b9e\u9645\u5e94\u7528\u7684\u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><h4>1. \u6570\u636e\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5904\u7406\u8fc7\u7a0b\u4e2d\uff0c\u5e38\u5e38\u9700\u8981\u68c0\u67e5\u6570\u636e\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff0c\u4ee5\u51b3\u5b9a\u662f\u5426\u8fdb\u884c\u540e\u7eed\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data_list = get_data_from_source()<\/p>\n<p>if not data_list:<\/p>\n<p>    print(&quot;\u6ca1\u6709\u6570\u636e\u9700\u8981\u5904\u7406&quot;)<\/p>\n<p>else:<\/p>\n<p>    process_data(data_list)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. Web\u5f00\u53d1<\/h4>\n<\/p>\n<p><p>\u5728Web\u5f00\u53d1\u4e2d\uff0c\u5224\u65ad\u8bf7\u6c42\u53c2\u6570\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff0c\u53ef\u4ee5\u51b3\u5b9a\u662f\u5426\u8fd4\u56de\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def handle_request(request_params):<\/p>\n<p>    if len(request_params) == 0:<\/p>\n<p>        return &quot;\u8bf7\u6c42\u53c2\u6570\u4e3a\u7a7a&quot;<\/p>\n<p>    else:<\/p>\n<p>        return process_request(request_params)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u81ea\u52a8\u5316\u6d4b\u8bd5<\/h4>\n<\/p>\n<p><p>\u5728\u81ea\u52a8\u5316\u6d4b\u8bd5\u4e2d\uff0c\u5224\u65ad\u6d4b\u8bd5\u7ed3\u679c\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff0c\u4ee5\u51b3\u5b9a\u662f\u5426\u7ee7\u7eed\u8fdb\u884c\u540e\u7eed\u6d4b\u8bd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">test_results = run_tests()<\/p>\n<p>if test_results == []:<\/p>\n<p>    print(&quot;\u6ca1\u6709\u6d4b\u8bd5\u7ed3\u679c&quot;)<\/p>\n<p>else:<\/p>\n<p>    analyze_results(test_results)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u6027\u80fd\u5bf9\u6bd4<\/h3>\n<\/p>\n<p><p>\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c<code>if not<\/code> \u8bed\u53e5\u7684\u6027\u80fd\u4f18\u4e8e\u5176\u4ed6\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u76f4\u63a5\u5229\u7528\u4e86Python\u5185\u7f6e\u7684\u5e03\u5c14\u503c\u5224\u65ad\u673a\u5236\u3002\u800c <code>len()<\/code> \u51fd\u6570\u9700\u8981\u8ba1\u7b97\u5217\u8868\u957f\u5ea6\uff0c\u6bd4\u8f83\u64cd\u4f5c\u7b26 <code>==<\/code> \u9700\u8981\u8fdb\u884c\u5143\u7d20\u6bd4\u8f83\uff0c\u8fd9\u4e9b\u64cd\u4f5c\u5728\u6027\u80fd\u4e0a\u7565\u663e\u900a\u8272\u3002\u4ee5\u4e0b\u662f\u4e09\u79cd\u65b9\u6cd5\u5728\u4e0d\u540c\u5217\u8868\u957f\u5ea6\u4e0b\u7684\u6027\u80fd\u5bf9\u6bd4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import timeit<\/p>\n<h2><strong>\u7a7a\u5217\u8868\u6027\u80fd\u6d4b\u8bd5<\/strong><\/h2>\n<p>empty_list = []<\/p>\n<p>print(timeit.timeit(&#39;not empty_list&#39;, globals=globals()))<\/p>\n<p>print(timeit.timeit(&#39;len(empty_list) == 0&#39;, globals=globals()))<\/p>\n<p>print(timeit.timeit(&#39;empty_list == []&#39;, globals=globals()))<\/p>\n<h2><strong>\u975e\u7a7a\u5217\u8868\u6027\u80fd\u6d4b\u8bd5<\/strong><\/h2>\n<p>non_empty_list = [1, 2, 3]<\/p>\n<p>print(timeit.timeit(&#39;not non_empty_list&#39;, globals=globals()))<\/p>\n<p>print(timeit.timeit(&#39;len(non_empty_list) == 0&#39;, globals=globals()))<\/p>\n<p>print(timeit.timeit(&#39;non_empty_list == []&#39;, globals=globals()))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u9762\u7684\u4ee3\u7801\uff0c\u53ef\u4ee5\u6bd4\u8f83\u4e09\u79cd\u65b9\u6cd5\u5728\u4e0d\u540c\u5217\u8868\u957f\u5ea6\u4e0b\u7684\u6267\u884c\u65f6\u95f4\uff0c\u5f97\u51fa\u6027\u80fd\u5bf9\u6bd4\u7ed3\u8bba\u3002\u901a\u5e38\u6765\u8bf4\uff0c<code>if not<\/code> \u8bed\u53e5\u5177\u6709\u66f4\u597d\u7684\u6027\u80fd\uff0c\u5c24\u5176\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u7f16\u7a0b\u9700\u6c42\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5b8c\u6210\u8fd9\u4e00\u4efb\u52a1\u3002<strong>\u4f7f\u7528 <code>if not<\/code> \u8bed\u53e5<\/strong> \u662f\u6700\u63a8\u8350\u7684\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u7b80\u6d01\u76f4\u89c2\uff0c\u9002\u5408\u5927\u591a\u6570\u573a\u666f\u3002<strong>\u4f7f\u7528 <code>len()<\/code> \u51fd\u6570<\/strong> \u548c <strong>\u6bd4\u8f83\u64cd\u4f5c\u7b26 <code>==<\/code><\/strong> \u4e5f\u6709\u5176\u9002\u7528\u7684\u573a\u666f\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u660e\u786e\u77e5\u9053\u5217\u8868\u957f\u5ea6\u6216\u8fdb\u884c\u591a\u91cd\u6bd4\u8f83\u65f6\u3002\u5728\u9009\u62e9\u5177\u4f53\u65b9\u6cd5\u65f6\uff0c\u5e94\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\u548c\u4ee3\u7801\u53ef\u8bfb\u6027\u8fdb\u884c\u6743\u8861\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u5e94\u5c3d\u91cf\u4fdd\u6301\u4ee3\u7801\u7684\u7b80\u6d01\u6027\u548c\u53ef\u8bfb\u6027\uff0c\u8fd9\u6837\u4e0d\u4ec5\u6709\u52a9\u4e8e\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\uff0c\u8fd8\u80fd\u8ba9\u540e\u7eed\u7ef4\u62a4\u66f4\u52a0\u65b9\u4fbf\u3002\u5e0c\u671b\u672c\u6587\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528Python\u4e2d\u7684\u5217\u8868\u7a7a\u5224\u65ad\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u6761\u4ef6\u8bed\u53e5\u6765\u68c0\u67e5\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u3002\u4e00\u4e2a\u7a7a\u5217\u8868\u5728\u5e03\u5c14\u4e0a\u4e0b\u6587\u4e2d\u88ab\u89c6\u4e3aFalse\u3002\u56e0\u6b64\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>if not my_list:<\/code>\u6765\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u3002\u5982\u679c\u5217\u8868\u4e3a\u7a7a\uff0c\u6761\u4ef6\u5c06\u4e3aTrue\uff0c\u60a8\u53ef\u4ee5\u5728\u6b64\u57fa\u7840\u4e0a\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u4f7f\u7528len()\u51fd\u6570\u68c0\u67e5\u5217\u8868\u957f\u5ea6\u662f\u5426\u4e3a\u96f6\u662f\u5426\u6709\u6548\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u4f7f\u7528<code>len()<\/code>\u51fd\u6570\u662f\u4e00\u79cd\u6709\u6548\u7684\u65b9\u6cd5\u6765\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7<code>if len(my_list) == 0:<\/code>\u6765\u5224\u65ad\u3002\u5982\u679c\u5217\u8868\u7684\u957f\u5ea6\u4e3a0\uff0c\u8bf4\u660e\u5b83\u662f\u7a7a\u7684\u3002\u8fd9\u79cd\u65b9\u6cd5\u6e05\u6670\u660e\u4e86\uff0c\u9002\u5408\u90a3\u4e9b\u4e60\u60ef\u4e8e\u4f7f\u7528\u957f\u5ea6\u6982\u5ff5\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u5904\u7406\u7a7a\u5217\u8868\u7684\u60c5\u51b5\uff1f<\/strong><br \/>\u5904\u7406\u7a7a\u5217\u8868\u65f6\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u7b56\u7565\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4e3a\u7a7a\u5217\u8868\u8bbe\u7f6e\u9ed8\u8ba4\u503c\uff0c\u6216\u8005\u5728\u8fdb\u884c\u64cd\u4f5c\u524d\u68c0\u67e5\u5217\u8868\u662f\u5426\u4e3a\u7a7a\uff0c\u4ee5\u907f\u514d\u5f15\u53d1\u9519\u8bef\u3002\u786e\u4fdd\u5728\u5904\u7406\u6570\u636e\u65f6\uff0c\u8003\u8651\u5230\u5217\u8868\u53ef\u80fd\u4e3a\u7a7a\u7684\u60c5\u51b5\uff0c\u6709\u52a9\u4e8e\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u5224\u65ad\u5217\u8868\u662f\u5426\u4e3a\u7a7a\u7684\u65b9\u6cd5\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528 if not \u8bed\u53e5\u3001\u4f7f\u7528 len() \u51fd\u6570\u3001\u4f7f\u7528\u6bd4\u8f83 [&hellip;]","protected":false},"author":3,"featured_media":1051086,"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\/1051079"}],"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=1051079"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1051079\/revisions"}],"predecessor-version":[{"id":1051090,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1051079\/revisions\/1051090"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1051086"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1051079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1051079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1051079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}