{"id":1026337,"date":"2024-12-31T10:41:45","date_gmt":"2024-12-31T02:41:45","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1026337.html"},"modified":"2024-12-31T10:41:47","modified_gmt":"2024-12-31T02:41:47","slug":"python%e7%9a%84json%e5%a6%82%e4%bd%95%e8%bd%ac%e6%8d%a2%e6%88%90%e5%88%97%e8%a1%a8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1026337.html","title":{"rendered":"python\u7684json\u5982\u4f55\u8f6c\u6362\u6210\u5217\u8868"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/ce5186f6-cffd-452e-8238-3bdd5be4b986.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u7684json\u5982\u4f55\u8f6c\u6362\u6210\u5217\u8868\" \/><\/p>\n<p><p> <strong>Python\u7684json\u5982\u4f55\u8f6c\u6362\u6210\u5217\u8868<\/strong>\uff1a\u9996\u5148\uff0c\u4f7f\u7528Python\u7684\u5185\u7f6e\u6a21\u5757<code>json<\/code>\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06json\u6570\u636e\u8f6c\u6362\u6210Python\u7684\u5217\u8868\u3002<strong>\u9700\u8981\u7528\u5230\u7684\u4e3b\u8981\u65b9\u6cd5\u662f<code>json.loads<\/code>\u3001\u786e\u4fddjson\u683c\u5f0f\u6b63\u786e\u3001\u6ce8\u610fjson\u5b57\u7b26\u4e32\u7684\u7f16\u7801<\/strong>\u3002\u4e0b\u9762\u6211\u4eec\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u5c06json\u6570\u636e\u8f6c\u6362\u6210\u5217\u8868\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528<code>json.loads<\/code>\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>Python\u7684<code>json<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u65b9\u6cd5<code>json.loads<\/code>\uff0c\u53ef\u4ee5\u76f4\u63a5\u5c06json\u5b57\u7b26\u4e32\u8f6c\u6362\u6210\u5bf9\u5e94\u7684Python\u6570\u636e\u7ed3\u6784\uff08\u5982\u5217\u8868\u3001\u5b57\u5178\u7b49\uff09\u3002\u8fd9\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u4e0b\u9762\u662f\u5177\u4f53\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<p>json_data = &#39;[&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]&#39;<\/p>\n<p>python_list = json.loads(json_data)<\/p>\n<p>print(python_list)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86<code>json<\/code>\u6a21\u5757\uff0c\u7136\u540e\u5b9a\u4e49\u4e86\u4e00\u4e2ajson\u683c\u5f0f\u7684\u5b57\u7b26\u4e32<code>json_data<\/code>\u3002\u901a\u8fc7\u8c03\u7528<code>json.loads<\/code>\u65b9\u6cd5\uff0c\u6211\u4eec\u5c06json\u5b57\u7b26\u4e32\u8f6c\u6362\u6210\u4e86\u4e00\u4e2aPython\u5217\u8868\uff0c\u5e76\u5c06\u7ed3\u679c\u5b58\u50a8\u5728\u53d8\u91cf<code>python_list<\/code>\u4e2d\u3002\u6700\u540e\uff0c\u6211\u4eec\u6253\u5370\u4e86\u8f6c\u6362\u540e\u7684\u5217\u8868\u3002<\/p>\n<\/p>\n<p><p><strong>\u786e\u4fddjson\u683c\u5f0f\u6b63\u786e<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528<code>json.loads<\/code>\u65b9\u6cd5\u65f6\uff0c\u786e\u4fdd\u4f60\u7684json\u5b57\u7b26\u4e32\u683c\u5f0f\u6b63\u786e\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u5982\u679cjson\u5b57\u7b26\u4e32\u6709\u4efb\u4f55\u8bed\u6cd5\u9519\u8bef\uff0c\u5c06\u4f1a\u5bfc\u81f4\u89e3\u6790\u5931\u8d25\u5e76\u629b\u51fa\u5f02\u5e38\u3002\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u7f3a\u5c11\u9017\u53f7\u3001\u4f7f\u7528\u5355\u5f15\u53f7\u4ee3\u66ff\u53cc\u5f15\u53f7\u7b49\u3002\u56e0\u6b64\uff0c\u5728\u5904\u7406json\u6570\u636e\u65f6\uff0c\u52a1\u5fc5\u786e\u4fddjson\u5b57\u7b26\u4e32\u683c\u5f0f\u6b63\u786e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<h2><strong>\u9519\u8bef\u7684json\u5b57\u7b26\u4e32<\/strong><\/h2>\n<p>json_data = &quot;{&#39;name&#39;: &#39;John&#39;, &#39;age&#39;: 30, &#39;city&#39;: &#39;New York&#39;}&quot;<\/p>\n<h2><strong>\u6b63\u786e\u7684json\u5b57\u7b26\u4e32<\/strong><\/h2>\n<p>json_data_correct = &#39;{&quot;name&quot;: &quot;John&quot;, &quot;age&quot;: 30, &quot;city&quot;: &quot;New York&quot;}&#39;<\/p>\n<p>try:<\/p>\n<p>    python_dict = json.loads(json_data)<\/p>\n<p>except json.JSONDecodeError as e:<\/p>\n<p>    print(f&quot;JSON Decode Error: {e}&quot;)<\/p>\n<p>python_dict_correct = json.loads(json_data_correct)<\/p>\n<p>print(python_dict_correct)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u7b2c\u4e00\u4e2a<code>json_data<\/code>\u5b57\u7b26\u4e32\u7531\u4e8e\u4f7f\u7528\u4e86\u5355\u5f15\u53f7\u800c\u4e0d\u662f\u53cc\u5f15\u53f7\uff0c\u6240\u4ee5\u4f1a\u5bfc\u81f4\u89e3\u6790\u5931\u8d25\uff0c\u5e76\u629b\u51fa<code>JSONDecodeError<\/code>\u3002\u7b2c\u4e8c\u4e2a<code>json_data_correct<\/code>\u5b57\u7b26\u4e32\u662f\u6b63\u786e\u7684json\u683c\u5f0f\uff0c\u6240\u4ee5\u53ef\u4ee5\u6210\u529f\u89e3\u6790\u3002<\/p>\n<\/p>\n<p><p><strong>\u6ce8\u610fjson\u5b57\u7b26\u4e32\u7684\u7f16\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406json\u6570\u636e\u65f6\uff0c\u8fd8\u9700\u8981\u6ce8\u610fjson\u5b57\u7b26\u4e32\u7684\u7f16\u7801\u95ee\u9898\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0cjson\u5b57\u7b26\u4e32\u4f7f\u7528UTF-8\u7f16\u7801\u3002\u5982\u679c\u4f60\u7684json\u5b57\u7b26\u4e32\u5305\u542b\u975eASCII\u5b57\u7b26\uff0c\u786e\u4fdd\u4f7f\u7528\u6b63\u786e\u7684\u7f16\u7801\u683c\u5f0f\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<p>json_data = &#39;{&quot;name&quot;: &quot;\u5f20\u4e09&quot;, &quot;age&quot;: 30, &quot;city&quot;: &quot;\u5317\u4eac&quot;}&#39;<\/p>\n<p>python_dict = json.loads(json_data)<\/p>\n<p>print(python_dict)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0cjson\u5b57\u7b26\u4e32\u5305\u542b\u4e86\u4e2d\u6587\u5b57\u7b26\u3002<code>json.loads<\/code>\u65b9\u6cd5\u53ef\u4ee5\u6b63\u786e\u5904\u7406\u8fd9\u4e9b\u5b57\u7b26\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u6210Python\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><p><strong>\u5c06json\u6587\u4ef6\u5185\u5bb9\u8f6c\u6362\u6210\u5217\u8868<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u6211\u4eec\u9700\u8981\u5c06json\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u8f6c\u6362\u6210\u5217\u8868\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>json.load<\/code>\u65b9\u6cd5\u8bfb\u53d6json\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u89e3\u6790\u4e3a\u76f8\u5e94\u7684Python\u6570\u636e\u7ed3\u6784\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<h2><strong>\u5047\u8bbejson\u6587\u4ef6\u540d\u4e3adata.json\uff0c\u5185\u5bb9\u4e3a[&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]<\/strong><\/h2>\n<p>with open(&#39;data.json&#39;, &#39;r&#39;) as file:<\/p>\n<p>    python_list = json.load(file)<\/p>\n<p>print(python_list)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>open<\/code>\u51fd\u6570\u4ee5\u53ea\u8bfb\u6a21\u5f0f\u6253\u5f00\u4e86\u4e00\u4e2a\u540d\u4e3a<code>data.json<\/code>\u7684\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528<code>json.load<\/code>\u65b9\u6cd5\u5c06\u6587\u4ef6\u5185\u5bb9\u89e3\u6790\u4e3aPython\u5217\u8868\uff0c\u5e76\u5c06\u7ed3\u679c\u5b58\u50a8\u5728\u53d8\u91cf<code>python_list<\/code>\u4e2d\u3002\u6700\u540e\uff0c\u6211\u4eec\u6253\u5370\u4e86\u8f6c\u6362\u540e\u7684\u5217\u8868\u3002<\/p>\n<\/p>\n<p><p><strong>\u5904\u7406\u590d\u6742\u7684json\u6570\u636e<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u9047\u5230\u7ed3\u6784\u590d\u6742\u7684json\u6570\u636e\u3002\u5bf9\u4e8e\u5d4c\u5957\u7684json\u6570\u636e\uff0c<code>json.loads<\/code>\u65b9\u6cd5\u540c\u6837\u9002\u7528\uff0c\u53ef\u4ee5\u5c06\u5176\u89e3\u6790\u4e3a\u5d4c\u5957\u7684Python\u6570\u636e\u7ed3\u6784\uff08\u5982\u5217\u8868\u5d4c\u5957\u5b57\u5178\uff09\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<p>json_data = &#39;&#39;&#39;<\/p>\n<p>{<\/p>\n<p>    &quot;name&quot;: &quot;John&quot;,<\/p>\n<p>    &quot;age&quot;: 30,<\/p>\n<p>    &quot;children&quot;: [<\/p>\n<p>        {<\/p>\n<p>            &quot;name&quot;: &quot;Anna&quot;,<\/p>\n<p>            &quot;age&quot;: 10<\/p>\n<p>        },<\/p>\n<p>        {<\/p>\n<p>            &quot;name&quot;: &quot;Ben&quot;,<\/p>\n<p>            &quot;age&quot;: 8<\/p>\n<p>        }<\/p>\n<p>    ]<\/p>\n<p>}<\/p>\n<p>&#39;&#39;&#39;<\/p>\n<p>python_dict = json.loads(json_data)<\/p>\n<p>print(python_dict)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0cjson\u5b57\u7b26\u4e32\u5305\u542b\u4e86\u5d4c\u5957\u7684\u7ed3\u6784\u3002\u901a\u8fc7<code>json.loads<\/code>\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5176\u89e3\u6790\u4e3a\u5d4c\u5957\u7684Python\u5b57\u5178\u548c\u5217\u8868\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528<code>json.dumps<\/code>\u8fdb\u884c\u9006\u5411\u8f6c\u6362<\/strong><\/p>\n<\/p>\n<p><p>\u9664\u4e86\u5c06json\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3aPython\u6570\u636e\u7ed3\u6784\u5916\uff0c<code>json<\/code>\u6a21\u5757\u8fd8\u63d0\u4f9b\u4e86<code>json.dumps<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5c06Python\u6570\u636e\u7ed3\u6784\u8f6c\u6362\u4e3ajson\u5b57\u7b26\u4e32\u3002\u8fd9\u5728\u9700\u8981\u5c06\u6570\u636e\u53d1\u9001\u5230\u7f51\u7edc\u6216\u5b58\u50a8\u5230\u6587\u4ef6\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<p>python_list = [&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]<\/p>\n<p>json_data = json.dumps(python_list)<\/p>\n<p>print(json_data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5c06\u4e00\u4e2aPython\u5217\u8868\u8f6c\u6362\u4e3a\u4e86json\u5b57\u7b26\u4e32\uff0c\u5e76\u6253\u5370\u4e86\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><p><strong>\u603b\u7ed3<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u7684\u8bb2\u89e3\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0cPython\u7684<code>json<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5f3a\u5927\u4e14\u6613\u7528\u7684\u65b9\u6cd5\u6765\u5904\u7406json\u6570\u636e\u3002\u65e0\u8bba\u662f\u5c06json\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3aPython\u5217\u8868\uff0c\u8fd8\u662f\u5c06Python\u6570\u636e\u7ed3\u6784\u8f6c\u6362\u4e3ajson\u5b57\u7b26\u4e32\uff0c<code>json<\/code>\u6a21\u5757\u90fd\u80fd\u8f7b\u677e\u5e94\u5bf9\u3002\u6b64\u5916\uff0c\u786e\u4fddjson\u683c\u5f0f\u6b63\u786e\u3001\u6ce8\u610f\u7f16\u7801\u95ee\u9898\u4ee5\u53ca\u5904\u7406\u590d\u6742\u7684json\u6570\u636e\uff0c\u4e5f\u662f\u6211\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u9700\u8981\u6ce8\u610f\u7684\u5173\u952e\u70b9\u3002\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u52a0\u9ad8\u6548\u5730\u5904\u7406\u548c\u64cd\u4f5cjson\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06JSON\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3aPython\u5217\u8868\uff1f<\/strong><br \/>\u8981\u5c06JSON\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3aPython\u5217\u8868\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>json<\/code>\u6a21\u5757\u3002\u9996\u5148\uff0c\u4f7f\u7528<code>json.loads()<\/code>\u51fd\u6570\u89e3\u6790JSON\u5b57\u7b26\u4e32\u3002\u5982\u679cJSON\u5b57\u7b26\u4e32\u7684\u683c\u5f0f\u6b63\u786e\uff0c\u8be5\u51fd\u6570\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5bf9\u5e94\u7684Python\u6570\u636e\u7ed3\u6784\uff0c\u4f8b\u5982\u5217\u8868\u6216\u5b57\u5178\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import json\n\njson_string = &#39;[1, 2, 3, 4, 5]&#39;\npython_list = json.loads(json_string)\nprint(python_list)  # \u8f93\u51fa: [1, 2, 3, 4, 5]\n<\/code><\/pre>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5904\u7406\u5305\u542b\u5d4c\u5957\u5217\u8868\u7684JSON\u6570\u636e\uff1f<\/strong><br \/>\u5904\u7406\u5305\u542b\u5d4c\u5957\u5217\u8868\u7684JSON\u6570\u636e\u4f9d\u7136\u53ef\u4ee5\u4f7f\u7528<code>json.loads()<\/code>\u3002\u5728\u89e3\u6790\u540e\uff0c\u60a8\u5c06\u5f97\u5230\u4e00\u4e2a\u5305\u542b\u5b50\u5217\u8868\u7684Python\u5217\u8868\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">import json\n\njson_string = &#39;[[1, 2], [3, 4], [5, 6]]&#39;\npython_list = json.loads(json_string)\nprint(python_list)  # \u8f93\u51fa: [[1, 2], [3, 4], [5, 6]]\n<\/code><\/pre>\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u8fd9\u4e9b\u5d4c\u5957\u7684\u5217\u8868\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c06Python\u5217\u8868\u8f6c\u6362\u56deJSON\u683c\u5f0f\uff1f<\/strong><br \/>\u8981\u5c06Python\u5217\u8868\u8f6c\u6362\u56deJSON\u683c\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>json.dumps()<\/code>\u51fd\u6570\u3002\u6b64\u51fd\u6570\u5c06Python\u5bf9\u8c61\u8f6c\u6362\u4e3a\u4e00\u4e2aJSON\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import json\n\npython_list = [1, 2, 3, 4, 5]\njson_string = json.dumps(python_list)\nprint(json_string)  # \u8f93\u51fa: [1, 2, 3, 4, 5]\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u8fc7\u7a0b\u5bf9\u4e8e\u6570\u636e\u4ea4\u6362\u548c\u5b58\u50a8\u975e\u5e38\u6709\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u7684json\u5982\u4f55\u8f6c\u6362\u6210\u5217\u8868\uff1a\u9996\u5148\uff0c\u4f7f\u7528Python\u7684\u5185\u7f6e\u6a21\u5757json\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06json\u6570\u636e\u8f6c\u6362\u6210P [&hellip;]","protected":false},"author":3,"featured_media":1026347,"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\/1026337"}],"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=1026337"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1026337\/revisions"}],"predecessor-version":[{"id":1026350,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1026337\/revisions\/1026350"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1026347"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1026337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1026337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1026337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}