{"id":1077263,"date":"2025-01-08T12:00:42","date_gmt":"2025-01-08T04:00:42","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1077263.html"},"modified":"2025-01-08T12:00:44","modified_gmt":"2025-01-08T04:00:44","slug":"%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%adpython%e5%8f%98%e9%87%8f%e4%b8%8d%e7%ad%89%e4%ba%8enull-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1077263.html","title":{"rendered":"\u5982\u4f55\u5224\u65adpython\u53d8\u91cf\u4e0d\u7b49\u4e8enull"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181419\/128a9e1b-0dd5-4e88-94ac-ac49f30ae26d.webp\" alt=\"\u5982\u4f55\u5224\u65adpython\u53d8\u91cf\u4e0d\u7b49\u4e8enull\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e0d\u7b49\u4e8enull\u7684\u65b9\u6cd5\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528is not None\u3001\u4f7f\u7528!= None\u3001\u4f7f\u7528\u5e03\u5c14\u503c\u5224\u65ad\u3002\u5176\u4e2d\uff0c\u6700\u63a8\u8350\u7684\u662f\u4f7f\u7528is not None\uff0c\u56e0\u5176\u8bed\u4e49\u660e\u786e\u4e14\u9ad8\u6548\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u5c55\u5f00\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u7684\u5177\u4f53\u7528\u6cd5\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>is not None<\/code>\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e0d\u7b49\u4e8enull\u662f\u6700\u4e3a\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u7684\u8bed\u4e49\u975e\u5e38\u660e\u786e\uff0c\u8868\u793a\u53d8\u91cf\u4e0d\u662fNone\u3002\u8fd9\u4e2a\u65b9\u6cd5\u4e0d\u4ec5\u66f4\u52a0\u76f4\u89c2\uff0c\u800c\u4e14\u5728\u5904\u7406\u590d\u6742\u5bf9\u8c61\u65f6\u4e5f\u66f4\u52a0\u53ef\u9760\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">variable = None<\/p>\n<p>if variable is not None:<\/p>\n<p>    print(&quot;The variable is not None&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The variable is None&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528<code>is not None<\/code>\u53ef\u4ee5\u907f\u514d\u4e00\u4e9b\u6f5c\u5728\u7684\u9677\u9631\uff0c\u6bd4\u5982\u5728\u6bd4\u8f83\u81ea\u5b9a\u4e49\u5bf9\u8c61\u65f6\uff0c<code>!=<\/code>\u64cd\u4f5c\u7b26\u53ef\u80fd\u4f1a\u8c03\u7528\u5bf9\u8c61\u7684\u7279\u6b8a\u65b9\u6cd5\uff0c\u5bfc\u81f4\u4e00\u4e9b\u610f\u5916\u7684\u7ed3\u679c\u3002\u4f7f\u7528<code>is not None<\/code>\u5219\u5b8c\u5168\u907f\u514d\u4e86\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001IS NOT NONE<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528 <code>is not None<\/code> \u662f\u5224\u65ad\u53d8\u91cf\u4e0d\u7b49\u4e8enull\u7684\u6700\u5e38\u7528\u548c\u63a8\u8350\u7684\u65b9\u6cd5\u3002\u5b83\u4e0d\u4ec5\u8bed\u4e49\u660e\u786e\uff0c\u800c\u4e14\u5728\u5904\u7406\u590d\u6742\u5bf9\u8c61\u65f6\u66f4\u52a0\u53ef\u9760\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u8be6\u7ec6\u7684\u793a\u4f8b\u548c\u8bf4\u660e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">variable = None<\/p>\n<p>if variable is not None:<\/p>\n<p>    print(&quot;The variable is not None&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The variable is None&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>variable<\/code> \u88ab\u8bbe\u7f6e\u4e3a <code>None<\/code>\uff0c\u901a\u8fc7 <code>is not None<\/code> \u68c0\u67e5\uff0c\u53ef\u4ee5\u6e05\u695a\u5730\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e3a <code>None<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\uff0c\u5b83\u4e0d\u4f1a\u8c03\u7528\u5bf9\u8c61\u7684\u7279\u6b8a\u65b9\u6cd5\uff0c\u56e0\u6b64\u66f4\u52a0\u5b89\u5168\u548c\u53ef\u9760\u3002<\/p>\n<\/p>\n<p><h4>\u9002\u7528\u573a\u666f<\/h4>\n<\/p>\n<ul>\n<li><strong>\u68c0\u67e5\u51fd\u6570\u8fd4\u56de\u503c<\/strong>\uff1a\u5728\u5904\u7406\u51fd\u6570\u8fd4\u56de\u503c\u65f6\uff0c\u7ecf\u5e38\u9700\u8981\u5224\u65ad\u8fd4\u56de\u503c\u662f\u5426\u4e3a <code>None<\/code>\u3002<\/li>\n<li><strong>\u68c0\u67e5\u5b57\u5178\u952e\u503c<\/strong>\uff1a\u5728\u5904\u7406\u5b57\u5178\u65f6\uff0c\u5224\u65ad\u67d0\u4e2a\u952e\u7684\u503c\u662f\u5426\u4e3a <code>None<\/code>\u3002<\/li>\n<li><strong>\u5904\u7406\u5916\u90e8\u6570\u636e<\/strong>\uff1a\u4f8b\u5982\u4ece\u6570\u636e\u5e93\u6216API\u83b7\u53d6\u7684\u6570\u636e\uff0c\u5224\u65ad\u662f\u5426\u4e3a <code>None<\/code>\u3002<\/li>\n<\/ul>\n<p><p>\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_data():<\/p>\n<p>    return None<\/p>\n<p>data = get_data()<\/p>\n<p>if data is not None:<\/p>\n<p>    print(&quot;Data is av<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>lable&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;No data&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001!= NONE<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528 <code>!= None<\/code> \u4e5f\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u68c0\u67e5\u65b9\u6cd5\uff0c\u4f46\u4e0d\u5982 <code>is not None<\/code> \u63a8\u8350\u3002\u539f\u56e0\u5728\u4e8e\uff0c<code>!=<\/code> \u64cd\u4f5c\u7b26\u53ef\u80fd\u4f1a\u8c03\u7528\u5bf9\u8c61\u7684\u7279\u6b8a\u65b9\u6cd5\uff0c\u5bfc\u81f4\u4e00\u4e9b\u610f\u5916\u7684\u7ed3\u679c\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u5728\u4e00\u4e9b\u7b80\u5355\u7684\u573a\u666f\u4e0b\uff0c<code>!= None<\/code> \u4ecd\u7136\u662f\u6709\u6548\u7684\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">variable = None<\/p>\n<p>if variable != None:<\/p>\n<p>    print(&quot;The variable is not None&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The variable is None&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u4f7f\u7528 <code>!= None<\/code> \u4e5f\u53ef\u4ee5\u8fbe\u5230\u540c\u6837\u7684\u6548\u679c\uff0c\u4f46\u5728\u6bd4\u8f83\u590d\u6742\u5bf9\u8c61\u65f6\u53ef\u80fd\u4f1a\u5f15\u53d1\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>\u9002\u7528\u573a\u666f<\/h4>\n<\/p>\n<ul>\n<li><strong>\u7b80\u5355\u6570\u636e\u7c7b\u578b<\/strong>\uff1a\u5bf9\u4e8e\u7b80\u5355\u6570\u636e\u7c7b\u578b\uff0c\u5982\u5b57\u7b26\u4e32\u3001\u6574\u6570\u7b49\uff0c\u4f7f\u7528 <code>!= None<\/code> \u662f\u53ef\u884c\u7684\u3002<\/li>\n<li><strong>\u5feb\u901f\u68c0\u67e5<\/strong>\uff1a\u5728\u4e00\u4e9b\u7b80\u5355\u7684\u811a\u672c\u6216\u4e34\u65f6\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528 <code>!= None<\/code> \u8fdb\u884c\u5feb\u901f\u68c0\u67e5\u3002<\/li>\n<\/ul>\n<p><p>\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">name = &quot;Alice&quot;<\/p>\n<p>if name != None:<\/p>\n<p>    print(f&quot;Hello, {name}&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Name is not provided&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5e03\u5c14\u503c\u5224\u65ad<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u5e03\u5c14\u503c\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e3a <code>None<\/code>\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u5982\u524d\u4e24\u79cd\u65b9\u6cd5\u76f4\u89c2\u548c\u53ef\u9760\uff0c\u9002\u7528\u573a\u666f\u4e5f\u8f83\u4e3a\u6709\u9650\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">variable = None<\/p>\n<p>if variable:<\/p>\n<p>    print(&quot;The variable is not None&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;The variable is None&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>if variable:<\/code> \u5224\u65ad\u6761\u4ef6\u4f1a\u5728\u53d8\u91cf\u4e3a <code>None<\/code> \u65f6\u8fd4\u56de <code>False<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u68c0\u67e5\u53d8\u91cf\u662f\u5426\u4e3a <code>None<\/code> \u6216\u5176\u4ed6\u5047\u503c\uff08\u5982\u7a7a\u5b57\u7b26\u4e32\u30010\u7b49\uff09\u3002<\/p>\n<\/p>\n<p><h4>\u9002\u7528\u573a\u666f<\/h4>\n<\/p>\n<ul>\n<li><strong>\u5feb\u901f\u68c0\u67e5<\/strong>\uff1a\u5728\u4e00\u4e9b\u5feb\u901f\u68c0\u67e5\u7684\u573a\u666f\u4e0b\uff0c\u5e03\u5c14\u503c\u5224\u65ad\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u3002<\/li>\n<li><strong>\u7279\u5b9a\u5047\u503c\u5904\u7406<\/strong>\uff1a\u5728\u7279\u5b9a\u573a\u666f\u4e0b\uff0c\u5e03\u5c14\u503c\u5224\u65ad\u53ef\u4ee5\u540c\u65f6\u5904\u7406 <code>None<\/code> \u548c\u5176\u4ed6\u5047\u503c\u3002<\/li>\n<\/ul>\n<p><p>\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">value = 0<\/p>\n<p>if value:<\/p>\n<p>    print(&quot;Value is not None or zero&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Value is None or zero&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u901a\u8fc7\u5f02\u5e38\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u9ad8\u7ea7\u573a\u666f\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5f02\u5e38\u5904\u7406\u6765\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e3a <code>None<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u901a\u5e38\u7528\u4e8e\u5904\u7406\u590d\u6742\u7684\u5bf9\u8c61\u548c\u6570\u636e\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">variable = None<\/p>\n<p>try:<\/p>\n<p>    if variable is not None:<\/p>\n<p>        print(&quot;The variable is not None&quot;)<\/p>\n<p>    else:<\/p>\n<p>        raise ValueError(&quot;The variable is None&quot;)<\/p>\n<p>except ValueError as e:<\/p>\n<p>    print(e)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u901a\u8fc7\u6355\u83b7\u5f02\u5e38\uff0c\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u5730\u5904\u7406\u53d8\u91cf\u7684\u68c0\u67e5\u3002<\/p>\n<\/p>\n<p><h4>\u9002\u7528\u573a\u666f<\/h4>\n<\/p>\n<ul>\n<li><strong>\u590d\u6742\u5bf9\u8c61\u5904\u7406<\/strong>\uff1a\u5728\u5904\u7406\u590d\u6742\u5bf9\u8c61\u548c\u6570\u636e\u7c7b\u578b\u65f6\uff0c\u901a\u8fc7\u5f02\u5e38\u5904\u7406\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u5e94\u5bf9\u5404\u79cd\u60c5\u51b5\u3002<\/li>\n<li><strong>\u81ea\u5b9a\u4e49\u9519\u8bef\u5904\u7406<\/strong>\uff1a\u5728\u4e00\u4e9b\u7279\u5b9a\u573a\u666f\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u81ea\u5b9a\u4e49\u5f02\u5e38\u5904\u7406\u6765\u63d0\u4f9b\u66f4\u6e05\u6670\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p><p>\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class CustomObject:<\/p>\n<p>    def __init__(self, value=None):<\/p>\n<p>        self.value = value<\/p>\n<p>obj = CustomObject()<\/p>\n<p>try:<\/p>\n<p>    if obj.value is not None:<\/p>\n<p>        print(&quot;Object has value&quot;)<\/p>\n<p>    else:<\/p>\n<p>        raise AttributeError(&quot;Object value is None&quot;)<\/p>\n<p>except AttributeError as e:<\/p>\n<p>    print(e)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5224\u65adPython\u53d8\u91cf\u662f\u5426\u4e0d\u7b49\u4e8enull\u7684\u51e0\u79cd\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\u3002\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u662f\u4f7f\u7528 <code>is not None<\/code>\uff0c\u5b83\u8bed\u4e49\u660e\u786e\u4e14\u9ad8\u6548\u3002\u5176\u4ed6\u65b9\u6cd5\u5982 <code>!= None<\/code> \u548c\u5e03\u5c14\u503c\u5224\u65ad\u5728\u7279\u5b9a\u573a\u666f\u4e0b\u4e5f\u6709\u5176\u9002\u7528\u6027\u3002\u901a\u8fc7\u8be6\u7ec6\u7684\u793a\u4f8b\u548c\u9002\u7528\u573a\u666f\u8bf4\u660e\uff0c\u5e0c\u671b\u80fd\u591f\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u53d8\u91cf\u662f\u5426\u4e3aNone\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>is<\/code>\u8fd0\u7b97\u7b26\u6765\u68c0\u67e5\u4e00\u4e2a\u53d8\u91cf\u662f\u5426\u4e3a<code>None<\/code>\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>if my_variable is not None:<\/code>\u6765\u5224\u65ad<code>my_variable<\/code>\u662f\u5426\u4e0d\u7b49\u4e8e<code>None<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u4e14\u76f4\u89c2\uff0c\u9002\u5408\u5224\u65ad\u4e00\u4e2a\u53d8\u91cf\u662f\u5426\u88ab\u8d4b\u503c\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u9664\u4e86None\uff0c\u8fd8\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u201c\u7a7a\u201d\u503c\uff1f<\/strong><br \/>\u9664\u4e86<code>None<\/code>\uff0cPython\u4e2d\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u88ab\u89c6\u4e3a\u7a7a\u7684\u503c\uff0c\u6bd4\u5982\u7a7a\u5b57\u7b26\u4e32<code>&quot;&quot;<\/code>\u3001\u7a7a\u5217\u8868<code>[]<\/code>\u3001\u7a7a\u5b57\u5178<code>{}<\/code>\u7b49\u3002\u5728\u8fdb\u884c\u53d8\u91cf\u5224\u65ad\u65f6\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u7efc\u5408\u8003\u8651\u8fd9\u4e9b\u60c5\u51b5\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>if my_variable:<\/code>\u53ef\u4ee5\u5224\u65ad\u4e00\u4e2a\u53d8\u91cf\u662f\u5426\u65e2\u4e0d\u4e3a<code>None<\/code>\u4e5f\u4e0d\u4e3a\u7a7a\u3002<\/p>\n<p><strong>\u5224\u65ad\u53d8\u91cf\u4e0d\u7b49\u4e8eNone\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4e3a\u4e86\u786e\u4fdd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u63a8\u8350\u4f7f\u7528<code>is not None<\/code>\u7684\u65b9\u5f0f\u6765\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e0d\u4e3a<code>None<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u6e05\u6670\u6613\u61c2\uff0c\u800c\u4e14\u80fd\u591f\u907f\u514d\u4e0e\u5176\u4ed6&quot;\u7a7a&quot;\u503c\u6df7\u6dc6\u3002\u540c\u65f6\uff0c\u4e3a\u4e86\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\uff0c\u53ef\u4ee5\u8003\u8651\u5728\u5224\u65ad\u524d\u8fdb\u884c\u7c7b\u578b\u68c0\u67e5\uff0c\u786e\u4fdd\u53d8\u91cf\u7c7b\u578b\u7b26\u5408\u9884\u671f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5224\u65ad\u53d8\u91cf\u662f\u5426\u4e0d\u7b49\u4e8enull\u7684\u65b9\u6cd5\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a\u4f7f\u7528is not None\u3001\u4f7f\u7528!= None [&hellip;]","protected":false},"author":3,"featured_media":1077271,"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\/1077263"}],"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=1077263"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1077263\/revisions"}],"predecessor-version":[{"id":1077272,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1077263\/revisions\/1077272"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1077271"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1077263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1077263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1077263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}