{"id":1106803,"date":"2025-01-08T16:43:38","date_gmt":"2025-01-08T08:43:38","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1106803.html"},"modified":"2025-01-08T16:43:40","modified_gmt":"2025-01-08T08:43:40","slug":"%e4%b8%a4%e4%b8%aa%e5%ad%97%e5%85%b8%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e7%9b%b8%e5%90%8cpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1106803.html","title":{"rendered":"\u4e24\u4e2a\u5b57\u5178\u5982\u4f55\u5224\u65ad\u76f8\u540cpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071102\/8d17343d-3674-4dbd-89ed-a25a794c85fe.webp\" alt=\"\u4e24\u4e2a\u5b57\u5178\u5982\u4f55\u5224\u65ad\u76f8\u540cpython\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u6709\u591a\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u3002<strong>\u6bd4\u8f83\u952e\u503c\u5bf9\u3001\u4f7f\u7528<code>==<\/code>\u64cd\u4f5c\u7b26\u3001\u4f7f\u7528<code>json<\/code>\u5e93\u5e8f\u5217\u5316\u5b57\u5178\u3001\u6bd4\u8f83\u54c8\u5e0c\u503c<\/strong>\u7b49\u662f\u5e38\u7528\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u662f\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u7684\u8be6\u7ec6\u63cf\u8ff0\uff1a<strong>\u4f7f\u7528<code>==<\/code>\u64cd\u4f5c\u7b26\u662f\u6700\u76f4\u63a5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u5b57\u5178\u662fPython\u4e2d\u975e\u5e38\u6709\u7528\u7684\u6570\u636e\u7ed3\u6784\u3002\u5b83\u4eec\u5b58\u50a8\u952e\u503c\u5bf9\uff0c\u5e76\u5141\u8bb8\u5feb\u901f\u67e5\u627e\u3001\u6dfb\u52a0\u548c\u5220\u9664\u64cd\u4f5c\u3002\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u662f\u4e00\u4e2a\u5e38\u89c1\u4efb\u52a1\uff0c\u5c24\u5176\u5728\u6570\u636e\u5904\u7406\u548c\u5206\u6790\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>==<\/code>\u64cd\u4f5c\u7b26\u5224\u65ad<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>==<\/code>\u64cd\u4f5c\u7b26\u662f\u6700\u76f4\u63a5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002Python\u5185\u7f6e\u7684<code>==<\/code>\u64cd\u4f5c\u7b26\u53ef\u4ee5\u6bd4\u8f83\u4e24\u4e2a\u5b57\u5178\uff0c\u5982\u679c\u5b83\u4eec\u7684\u952e\u503c\u5bf9\u5b8c\u5168\u76f8\u540c\uff0c\u5219\u8fd4\u56de<code>True<\/code>\uff0c\u5426\u5219\u8fd4\u56de<code>False<\/code>\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">dict1 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict2 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict3 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 4}<\/p>\n<p>print(dict1 == dict2)  # \u8f93\u51fa: True<\/p>\n<p>print(dict1 == dict3)  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>dict1<\/code>\u548c<code>dict2<\/code>\u5b8c\u5168\u76f8\u540c\uff0c\u56e0\u6b64<code>==<\/code>\u64cd\u4f5c\u7b26\u8fd4\u56de<code>True<\/code>\u3002\u800c<code>dict1<\/code>\u548c<code>dict3<\/code>\u5728\u952e<code>c<\/code>\u7684\u503c\u4e0d\u540c\uff0c\u56e0\u6b64\u8fd4\u56de<code>False<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u9010\u9879\u6bd4\u8f83\u952e\u503c\u5bf9<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u4e3a\u4e86\u66f4\u8be6\u7ec6\u7684\u6bd4\u8f83\uff0c\u9010\u9879\u6bd4\u8f83\u952e\u503c\u5bf9\u4f1a\u66f4\u5408\u9002\u3002\u53ef\u4ee5\u904d\u5386\u6bcf\u4e2a\u5b57\u5178\u7684\u952e\u503c\u5bf9\uff0c\u5e76\u9010\u4e00\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def compare_dicts(dict1, dict2):<\/p>\n<p>    if dict1.keys() != dict2.keys():<\/p>\n<p>        return False<\/p>\n<p>    for key in dict1.keys():<\/p>\n<p>        if dict1[key] != dict2[key]:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<p>dict1 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict2 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict3 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 4}<\/p>\n<p>print(compare_dicts(dict1, dict2))  # \u8f93\u51fa: True<\/p>\n<p>print(compare_dicts(dict1, dict3))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570<code>compare_dicts<\/code>\u9996\u5148\u6bd4\u8f83\u4e24\u4e2a\u5b57\u5178\u7684\u952e\u662f\u5426\u76f8\u540c\u3002\u5982\u679c\u952e\u4e0d\u76f8\u540c\uff0c\u76f4\u63a5\u8fd4\u56de<code>False<\/code>\u3002\u5982\u679c\u952e\u76f8\u540c\uff0c\u5219\u9010\u4e00\u6bd4\u8f83\u6bcf\u4e2a\u952e\u7684\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528<code>json<\/code>\u5e93\u5e8f\u5217\u5316\u5b57\u5178<\/h3>\n<\/p>\n<p><p>\u53e6\u4e00\u4e2a\u65b9\u6cd5\u662f\u4f7f\u7528<code>json<\/code>\u5e93\u5c06\u5b57\u5178\u5e8f\u5217\u5316\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u6bd4\u8f83\u8fd9\u4e9b\u5b57\u7b26\u4e32\u3002\u5e8f\u5217\u5316\u53ef\u4ee5\u786e\u4fdd\u5b57\u5178\u7684\u5d4c\u5957\u7ed3\u6784\u4e5f\u80fd\u88ab\u6b63\u786e\u6bd4\u8f83\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import json<\/p>\n<p>dict1 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict2 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict3 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 4}<\/p>\n<p>def dicts_are_equal(dict1, dict2):<\/p>\n<p>    return json.dumps(dict1, sort_keys=True) == json.dumps(dict2, sort_keys=True)<\/p>\n<p>print(dicts_are_equal(dict1, dict2))  # \u8f93\u51fa: True<\/p>\n<p>print(dicts_are_equal(dict1, dict3))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>json.dumps<\/code>\u51fd\u6570\u5c06\u5b57\u5178\u5e8f\u5217\u5316\u4e3a\u5b57\u7b26\u4e32\u3002<code>sort_keys=True<\/code>\u53c2\u6570\u786e\u4fdd\u952e\u6309\u987a\u5e8f\u6392\u5e8f\uff0c\u4ee5\u4fbf\u5e8f\u5217\u5316\u7684\u5b57\u7b26\u4e32\u662f\u53ef\u6bd4\u8f83\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6bd4\u8f83\u54c8\u5e0c\u503c<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u5b57\u5178\u975e\u5e38\u5927\uff0c\u6bd4\u8f83\u54c8\u5e0c\u503c\u53ef\u80fd\u4f1a\u66f4\u6709\u6548\u7387\u3002\u54c8\u5e0c\u503c\u662f\u901a\u8fc7\u54c8\u5e0c\u51fd\u6570\u751f\u6210\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u8868\u793a\u6570\u636e\u7684\u552f\u4e00\u6027\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import hashlib<\/p>\n<p>def hash_dict(d):<\/p>\n<p>    return hashlib.sha256(json.dumps(d, sort_keys=True).encode()).hexdigest()<\/p>\n<p>dict1 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict2 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict3 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 4}<\/p>\n<p>print(hash_dict(dict1) == hash_dict(dict2))  # \u8f93\u51fa: True<\/p>\n<p>print(hash_dict(dict1) == hash_dict(dict3))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>hashlib.sha256<\/code>\u51fd\u6570\u7528\u4e8e\u751f\u6210\u5b57\u5178\u7684\u54c8\u5e0c\u503c\u3002\u901a\u8fc7\u6bd4\u8f83\u54c8\u5e0c\u503c\uff0c\u53ef\u4ee5\u5feb\u901f\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5904\u7406\u5d4c\u5957\u5b57\u5178\u7684\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5f53\u5b57\u5178\u5d4c\u5957\u65f6\uff0c\u6bd4\u8f83\u4f1a\u53d8\u5f97\u66f4\u52a0\u590d\u6742\u3002\u9700\u8981\u9012\u5f52\u5730\u6bd4\u8f83\u6bcf\u4e00\u5c42\u7684\u952e\u503c\u5bf9\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def compare_nested_dicts(d1, d2):<\/p>\n<p>    if d1.keys() != d2.keys():<\/p>\n<p>        return False<\/p>\n<p>    for k in d1.keys():<\/p>\n<p>        if isinstance(d1[k], dict) and isinstance(d2[k], dict):<\/p>\n<p>            if not compare_nested_dicts(d1[k], d2[k]):<\/p>\n<p>                return False<\/p>\n<p>        elif d1[k] != d2[k]:<\/p>\n<p>            return False<\/p>\n<p>    return True<\/p>\n<p>nested_dict1 = {&#39;a&#39;: {&#39;x&#39;: 10, &#39;y&#39;: 20}, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>nested_dict2 = {&#39;a&#39;: {&#39;x&#39;: 10, &#39;y&#39;: 20}, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>nested_dict3 = {&#39;a&#39;: {&#39;x&#39;: 10, &#39;y&#39;: 21}, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>print(compare_nested_dicts(nested_dict1, nested_dict2))  # \u8f93\u51fa: True<\/p>\n<p>print(compare_nested_dicts(nested_dict1, nested_dict3))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570<code>compare_nested_dicts<\/code>\u9012\u5f52\u5730\u6bd4\u8f83\u6bcf\u4e00\u5c42\u7684\u952e\u503c\u5bf9\u3002\u5982\u679c\u53d1\u73b0\u4efb\u4f55\u4e00\u5c42\u7684\u952e\u503c\u5bf9\u4e0d\u76f8\u540c\uff0c\u5219\u8fd4\u56de<code>False<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u4f7f\u7528\u96c6\u5408\u6bd4\u8f83\u952e\u548c\u503c<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u5c06\u5b57\u5178\u7684\u9879\u8f6c\u6362\u4e3a\u96c6\u5408\uff0c\u53ef\u4ee5\u4f7f\u7528\u96c6\u5408\u7684\u6bd4\u8f83\u64cd\u4f5c\u6765\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801\uff1a<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">dict1 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict2 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 3}<\/p>\n<p>dict3 = {&#39;a&#39;: 1, &#39;b&#39;: 2, &#39;c&#39;: 4}<\/p>\n<p>def compare_dicts_as_sets(d1, d2):<\/p>\n<p>    return set(d1.items()) == set(d2.items())<\/p>\n<p>print(compare_dicts_as_sets(dict1, dict2))  # \u8f93\u51fa: True<\/p>\n<p>print(compare_dicts_as_sets(dict1, dict3))  # \u8f93\u51fa: False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u901a\u8fc7\u5c06\u5b57\u5178\u7684\u9879\u8f6c\u6362\u4e3a\u96c6\u5408\uff0c\u5229\u7528\u96c6\u5408\u7684\u6bd4\u8f83\u64cd\u4f5c\u6765\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u5728Python\u4e2d\u6709\u591a\u79cd\u65b9\u6cd5\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u9700\u6c42\u548c\u573a\u666f\u3002<strong>\u4f7f\u7528<code>==<\/code>\u64cd\u4f5c\u7b26\u662f\u6700\u76f4\u63a5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5<\/strong>\uff0c\u4f46\u5728\u9700\u8981\u66f4\u8be6\u7ec6\u7684\u6bd4\u8f83\u6216\u5904\u7406\u5d4c\u5957\u5b57\u5178\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u9010\u9879\u6bd4\u8f83\u952e\u503c\u5bf9\u3001\u4f7f\u7528<code>json<\/code>\u5e93\u5e8f\u5217\u5316\u5b57\u5178\u3001\u6bd4\u8f83\u54c8\u5e0c\u503c\u7b49\u65b9\u6cd5\u3002\u65e0\u8bba\u91c7\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u786e\u4fdd\u4ee3\u7801\u6e05\u6670\u3001\u7b80\u6d01\u3001\u6613\u4e8e\u7ef4\u62a4\u662f\u6700\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u6bd4\u8f83\u4e24\u4e2a\u5b57\u5178\u7684\u5185\u5bb9\u662f\u5426\u76f8\u540c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>==<\/code>\u8fd0\u7b97\u7b26\u76f4\u63a5\u6bd4\u8f83\u4e24\u4e2a\u5b57\u5178\u3002\u5982\u679c\u4e24\u4e2a\u5b57\u5178\u7684\u952e\u503c\u5bf9\u5b8c\u5168\u76f8\u540c\uff0c\u8fd4\u56de\u7ed3\u679c\u4e3a<code>True<\/code>\uff0c\u5426\u5219\u4e3a<code>False<\/code>\u3002\u4f8b\u5982\uff1a<code>dict1 == dict2<\/code>\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u65b9\u6cd5\u6765\u6bd4\u8f83\u5b57\u5178\uff1f<\/strong><br \/>\u9664\u4e86\u76f4\u63a5\u4f7f\u7528<code>==<\/code>\u8fd0\u7b97\u7b26\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528<code>collections<\/code>\u6a21\u5757\u4e2d\u7684<code>Counter<\/code>\u7c7b\u6765\u6bd4\u8f83\u4e24\u4e2a\u5b57\u5178\u3002<code>Counter<\/code>\u4f1a\u5c06\u5b57\u5178\u7684\u952e\u503c\u5bf9\u8f6c\u6362\u4e3a\u8ba1\u6570\u5668\u5bf9\u8c61\uff0c\u4ece\u800c\u4fbf\u4e8e\u6bd4\u8f83\u3002\u8fd9\u6837\u53ef\u4ee5\u5728\u4e0d\u8003\u8651\u952e\u7684\u987a\u5e8f\u7684\u60c5\u51b5\u4e0b\u6bd4\u8f83\u5b57\u5178\u3002<\/p>\n<p><strong>\u5728\u6bd4\u8f83\u5b57\u5178\u65f6\uff0c\u5982\u4f55\u5904\u7406\u5d4c\u5957\u5b57\u5178\u7684\u60c5\u51b5\uff1f<\/strong><br \/>\u5f53\u5b57\u5178\u4e2d\u5305\u542b\u5176\u4ed6\u5b57\u5178\u4f5c\u4e3a\u503c\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u9012\u5f52\u51fd\u6570\u6765\u9010\u5c42\u6bd4\u8f83\u5b57\u5178\u3002\u901a\u8fc7\u904d\u5386\u5b57\u5178\u7684\u6bcf\u4e2a\u952e\u503c\u5bf9\uff0c\u82e5\u503c\u4e3a\u5b57\u5178\u7c7b\u578b\uff0c\u5219\u9012\u5f52\u8c03\u7528\u6bd4\u8f83\u51fd\u6570\uff0c\u6700\u7ec8\u5224\u65ad\u6240\u6709\u5c42\u7ea7\u7684\u5b57\u5178\u662f\u5426\u76f8\u540c\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u6df1\u5c42\u5d4c\u5957\u7684\u5b57\u5178\u4e5f\u88ab\u6b63\u786e\u6bd4\u8f83\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u6709\u591a\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u5224\u65ad\u4e24\u4e2a\u5b57\u5178\u662f\u5426\u76f8\u540c\u3002\u6bd4\u8f83\u952e\u503c\u5bf9\u3001\u4f7f\u7528==\u64cd\u4f5c\u7b26\u3001\u4f7f\u7528json\u5e93\u5e8f\u5217\u5316\u5b57\u5178\u3001\u6bd4 [&hellip;]","protected":false},"author":3,"featured_media":1106807,"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\/1106803"}],"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=1106803"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1106803\/revisions"}],"predecessor-version":[{"id":1106808,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1106803\/revisions\/1106808"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1106807"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1106803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1106803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1106803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}