{"id":5219,"date":"2021-06-12T17:18:39","date_gmt":"2021-06-12T09:18:39","guid":{"rendered":"https:\/\/www.xttblog.com\/?p=5219"},"modified":"2021-06-12T17:18:39","modified_gmt":"2021-06-12T09:18:39","slug":"%e4%bb%8e%e6%a0%b9%e4%b8%8a%e7%90%86%e8%a7%a3mongodb%e7%9a%84objectid%e7%94%9f%e6%88%90%e5%8e%9f%e7%90%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=5219","title":{"rendered":"\u4ece\u6839\u4e0a\u7406\u89e3MongoDB\u7684ObjectId\u751f\u6210\u539f\u7406\uff01"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u60f3\u5199\u8fd9\u7bc7\u6587\u7ae0\u597d\u4e45\u4e86\uff0c\u4e00\u76f4\u62bd\u4e0d\u51fa\u65f6\u95f4\u3002\u8fd9\u4e24\u5929\u7aef\u5348\u8282\u653e\u5047\uff0c\u6211\u548c\u5a03\u90fd\u6ce1\u5728\u56fe\u4e66\u9986\uff0c\u5728\u4ed6\u770b\u4e66\u7684\u7a7a\u95f2\u671f\uff0c\u6211\u62ff\u51fa\u7535\u8111\u5199\u4e0b\u4e86\u672c\u6587\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u4eec\u90fd\u77e5\u9053\uff0c\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u5206\u5e03\u5f0f ID \u6709\u5f88\u591a\u7279\u6b8a\u7684\u8981\u6c42\uff0c\u5176\u4e2d\u4e4b\u4e8c\u5c31\u662f\u8981\u6c42\u5404\u4e2a ID \u5fc5\u987b\u5168\u5c40\u552f\u4e00\uff0c\u4e14 ID \u80fd\u591f\u8d8b\u52bf\u9012\u589e\u3002\u90a3\u4e48 MongoDB \u4f5c\u4e3a\u4e00\u4e2a\u5206\u5e03\u5f0f NoSQL \u6570\u636e\u5e93\uff0c\u5b83\u7684 ObjectID \u662f\u4e00\u6bb5\u5b57\u7b26\u4e32\uff0c\u662f UUID \u5417\uff1f\u4e0d\u540c\u673a\u5668\u751f\u4ea7\u7684 ID \u4f1a\u76f8\u540c\u5417\uff1f\u8fd9\u6bb5\u5b57\u7b26\u4e32\u6392\u5e8f\u6ca1\u6709\u7eaf\u6570\u5b57\u4e3b\u952e\u597d\u6392\u5427\uff1f\u7b49\u7b49\uff0c\u5e26\u7740\u8fd9\u6837\u7684\u7591\u95ee\uff0c\u6211\u4eec\u4e00\u8d77\u6765\u770b\u770b Mongo \u7684 ObjectID \u5230\u5e95\u6709\u4f55\u795e\u79d8\u4e4b\u5904\uff01<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u6765\u770b mongo \u63d2\u5165\u4e00\u6761\u8bb0\u5f55\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>db.xttblog.insert({\"name\":\"\u4e1a\u4f59\u8349\",\"age\":88,\"url\":\"www.xttblog.com\"})<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4e0a\u9762\u7684\u8bed\u53e5\u540e\uff0c\u6536\u5230<code>Inserted 1 record(s) in 64ms<\/code>\u4fe1\u606f\u5c31\u4ee3\u8868\u63d2\u5165\u6210\u529f\u3002\u63d2\u5165\u6210\u529f\u540e\uff0c\u6211\u4eec\u8fdb\u884c\u67e5\u8be2\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>db.getCollection('xttblog').find({})<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u8be2\u7684\u7ed3\u679c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/xmt1139057136\/xttblog\/2021\/06\/mongo0.jpg\" alt=\"mongo\u63d2\u5165\u540e\u81ea\u52a8\u751f\u6210id\" \/><figcaption>mongo\u63d2\u5165\u540e\u81ea\u52a8\u751f\u6210id<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u56fe\u4e2d\uff0c\u591a\u51fa\u4e86\u4e00\u4e2a<code>_id<\/code>\uff0c\u5b83\u662f ObjectId \u7c7b\u578b\u3002\u5b83\u662f\u4e00\u4e2a 24 \u4f4d\u7684\u5b57\u7b26\u4e32\uff1a<code>60c468e6101bf215dc9fa835<\/code>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a 24 \u4f4d\u7684\u5b57\u7b26\u4e32\uff0c\u867d\u7136\u770b\u8d77\u6765\u5f88\u957f\uff0c\u4e5f\u5f88\u96be\u7406\u89e3\uff0c\u4f46\u5b9e\u9645\u4e0a\u5b83\u662f\u7531\u4e00\u7ec4\u5341\u516d\u8fdb\u5236\u7684\u5b57\u7b26\u6784\u6210\uff0c\u6bcf\u4e2a\u5b57\u8282(byte)\u5360\u4e24\u4f4d\u7684\u5341\u516d\u8fdb\u5236\u6570\u5b57\uff0c\u603b\u5171\u7528\u4e86 12 \u5b57\u8282\u7684\u5b58\u50a8\u7a7a\u95f4\u3002\u76f8\u6bd4 MYSQL int \u7c7b\u578b\u7684 4 \u4e2a\u5b57\u8282\uff0cMongoDB \u7684\u4e3b\u952e<code>_id<\/code>\u786e\u5b9e\u591a\u51fa\u4e86\u5f88\u591a\u5b57\u8282\u3002\u4e0d\u8fc7\u6309\u7167\u73b0\u5728\u7684\u5b58\u50a8\u8bbe\u5907\uff0c\u591a\u51fa\u6765\u7684\u5b57\u8282\u5e94\u8be5\u4e0d\u4f1a\u6210\u4e3a\u4ec0\u4e48\u74f6\u9888\u3002\u53ea\u8981\u5b83\u80fd\u591f\u89e3\u51b3\u6211\u4eec\u7684\u4e1a\u52a1\u95ee\u9898\uff0c\u6211\u4eec\u6839\u672c\u5c31\u4e0d\u5728\u4e4e\u8fd9\u70b9\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MongoDB \u7684\u8fd9\u79cd\u8bbe\u8ba1\uff0c\u5b9e\u9645\u4e0a\u4f53\u73b0\u51fa\u4e86\u5b83\u7684\u7a7a\u95f4\u6362\u65f6\u95f4\u7684\u601d\u60f3\u3002\u5b98\u7f51\u4e2d\u5bf9 ObjectId \u7684\u89c4\u8303\u6709\u4ee5\u4e0b\u63cf\u8ff0\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/xmt1139057136\/xttblog\/2021\/06\/mongo1.jpg\" alt=\"MongoDB\u4e2d\u7684ObjectId\u89c4\u8303\" \/><figcaption>MongoDB\u4e2d\u7684ObjectId\u89c4\u8303<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u9762\u7684\u8fd9\u4e2a\u56fe\u4e2d\uff0c\u6709\u4e00\u4e2a\u91cd\u70b9\u4fe1\u606f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4 \u5b57\u8282\u7684 timestamp<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">timestamp \u5c31\u662f\u65f6\u95f4\u6233\u3002\u5c06\u521a\u624d\u751f\u6210\u7684 ObjectId \u7684\u524d 4 \u4f4d\u8fdb\u884c\u63d0\u53d6\u201c60c468e6\u201d\uff0c\u7136\u540e\u6309\u7167\u5341\u516d\u8fdb\u5236\u8f6c\u4e3a\u5341\u8fdb\u5236\uff0c\u53d8\u4e3a<code>1623484646<\/code>\uff0c\u8fd9\u4e2a\u6570\u5b57\u5c31\u662f\u4e00\u4e2a\u65f6\u95f4\u6233\uff0c\u7cbe\u786e\u5230\u79d2\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/xmt1139057136\/xttblog\/2021\/06\/mongo2.jpg\" alt=\"16\u8fdb\u5236\u8f6c10\u8fdb\u5236\" \/><figcaption>16\u8fdb\u5236\u8f6c10\u8fdb\u5236<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u65f6\u95f4\u6233\u7684\u8f6c\u6362\uff0c\u6211\u4eec\u5c31\u80fd\u770b\u6e05\u5b83\u7684\u771f\u9762\u76ee\u4e86\u3002\u6700\u7ec8\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u65e5\u671f\u65f6\u95f4\u683c\u5f0f\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/xmt1139057136\/xttblog\/2021\/06\/mongo3.jpg\" alt=\"\u65f6\u95f4\u6233\u8f6c\u65e5\u671f\" \/><figcaption>\u65f6\u95f4\u6233\u8f6c\u65e5\u671f<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Machine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">ObjectId \u89c4\u8303\u4e2d\uff0c\u8fd8\u63cf\u8ff0\u4e86\uff0c\u6709\u4e00\u4e2a\u5360 3 \u4e2a\u5b57\u8282\u7684 Machine(\u673a\u5668)\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5b57\u7b26\u4e32<code>60c468e6101bf215dc9fa835<\/code>\u4e2d\u7684\u7b2c 9 \u5230 15 \u4f4d\uff0c<code>101bf2<\/code>\u8fd9\u4e09\u4e2a\u5b57\u8282\u662f\u6240\u5728\u4e3b\u673a\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u4e00\u822c\u662f\u673a\u5668\u4e3b\u673a\u540d\u7684\u6563\u5217\u503c\uff0c\u8fd9\u6837\u5c31\u786e\u4fdd\u4e86\u4e0d\u540c\u4e3b\u673a\u751f\u6210\u4e0d\u540c\u7684\u673a\u5668\u7684 hash \u503c\uff0c\u786e\u4fdd\u5728\u5206\u5e03\u5f0f\u4e2d\u4e0d\u9020\u6210\u51b2\u7a81\uff0c\u8fd9\u4e5f\u5c31\u662f\u8bf4\u5728\u540c\u4e00\u53f0\u673a\u5668\u751f\u6210\u7684 ObjectId \u4e2d\u95f4\uff08\u7b2c9\u523015\u4f4d\uff09\u7684\u5b57\u7b26\u4e32\u90fd\u662f\u4e00\u6a21\u4e00\u6837\u7684\u539f\u56e0\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PID<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89c4\u8303\u4e2d\u4e2d\u8fd8\u63cf\u8ff0\u4e86\uff0c\u8fd8\u6709\u4e24\u4e2a\u5b57\u8282\u7684 process id(\u8fdb\u7a0b ID)\u3002\u4e0a\u9762\u7684 Machine \u662f\u4e3a\u4e86\u786e\u4fdd\u5728\u4e0d\u540c\u673a\u5668\u4ea7\u751f\u7684 ObjectId \u4e0d\u51b2\u7a81\uff0c\u800c pid \u5c31\u662f\u4e3a\u4e86\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0d\u540c\u7684 mongodb \u8fdb\u7a0b\u4e2d\u4ea7\u751f\u7684 ObjectId \u4e0d\u51b2\u7a81\u3002\u90a3\u4e48\u63a5\u7740\u622a\u53d6 4 \u4f4d\u5b57\u7b26\uff0c<code>15dc<\/code>\u5c31\u662f\u4ea7\u751f ObjectId \u7684\u8fdb\u7a0b\u6807\u8bc6\u7b26\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u9645\u4e0a\uff0c\u4f60\u4e5f\u53ef\u4ee5\u628a\u8fd9\u4e2a 16 \u8fdb\u5236\u7684\u5b57\u7b26\u4e32<code>15dc<\/code>\u8f6c\u6362\u6210 10 \u8fdb\u5236\uff0c\u7136\u540e\u5728\u673a\u5668\u4e0a\u901a\u8fc7 ps \u547d\u4ee4\u770b\u770b\uff0cmongodb \u7684\u8fdb\u7a0b pid \u662f\u4e0d\u662f\u76f8\u540c\u7684\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">INC<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89c4\u8303\u4e2d\u8fd8\u63cf\u8ff0\u4e86\uff0c\u6700\u540e 3 \u5b57\u8282\u662f counter\uff0c\u4e5f\u5c31\u662f\u901a\u8fc7 INC \u81ea\u589e\u8ba1\u6570\u5668\u5b9e\u73b0\u7684\u3002\u524d\u9762\u7684\u4e5d\u4e2a\u5b57\u8282\u662f\u4fdd\u8bc1\u4e86\u4e00\u79d2\u5185\u4e0d\u540c\u673a\u5668\u4e0d\u540c\u8fdb\u7a0b\u751f\u6210 ObjectId \u4e0d\u51b2\u7a81\uff0c\u6700\u540e\u9762\u7684\u8fd9\u4e09\u4e2a\u5b57\u8282<code>9fa835<\/code>\u662f\u4e00\u4e2a\u81ea\u52a8\u589e\u52a0\u7684\u8ba1\u6570\u5668\uff0c\u7528\u6765\u786e\u4fdd\u5728\u540c\u4e00\u79d2\u5185\u4ea7\u751f\u7684 ObjectId \u4e5f\u4e0d\u4f1a\u53d1\u751f\u51b2\u7a81\uff0c\u5141\u8bb8 256 \u7684 3 \u6b21\u65b9\u7b49\u4e8e 16777216 \u6761\u8bb0\u5f55\u7684\u552f\u4e00\u6027\u3002\u4e5f\u5c31\u662f\u8bf4\u6bcf\u79d2\u949f\u53ef\u4ee5\u4ea7\u751f 16777216 \u4e2a ID\uff0c\u8db3\u591f\u6211\u4eec\u4f7f\u7528\u4e86\uff0c\u5982\u679c\u8fd8\u4e0d\u591f\uff0c\u6211\u4eec\u53ef\u4ee5\u5206\u673a\u5668\uff0c\u5206\u96c6\u7fa4\u3002\u6216\u8005\u8ba9\u5ba2\u6237\u7aef\u4ea7\u751f ObjectId\uff08\u5ba2\u6237\u7aef\u751f\u6210 ObjectId \u6211\u4eec\u540e\u9762\u518d\u5355\u72ec\u6765\u8ba8\u8bba\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u603b\u7ed3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u73b0\u5728\u6211\u4eec\u6765\u505a\u4e2a\u603b\u7ed3\uff0cObjectId \u7684\u524d 4 \u4e2a\u5b57\u8282\u65f6\u95f4\u6233\uff0c\u8bb0\u5f55\u4e86\u6587\u6863\u521b\u5efa\u7684\u65f6\u95f4\uff1b\u63a5\u4e0b\u6765 3 \u4e2a\u5b57\u8282\u4ee3\u8868\u4e86\u6240\u5728\u4e3b\u673a\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u786e\u5b9a\u4e86\u4e0d\u540c\u4e3b\u673a\u95f4\u4ea7\u751f\u4e0d\u540c\u7684 ObjectId\uff1b\u540e 2 \u4e2a\u5b57\u8282\u7684\u8fdb\u7a0b id\uff0c\u51b3\u5b9a\u4e86\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0b\uff0c\u4e0d\u540c mongodb \u8fdb\u7a0b\u4ea7\u751f\u4e0d\u540c\u7684 ObjectId\uff1b\u6700\u540e\u901a\u8fc7 3 \u4e2a\u5b57\u8282\u7684\u81ea\u589e\u8ba1\u6570\u5668\uff0c\u786e\u4fdd\u540c\u4e00\u79d2\u5185\u4ea7\u751f ObjectId \u7684\u552f\u4e00\u6027\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ObjectId \u7684\u8fd9\u4e2a\u4e3b\u952e\u751f\u6210\u7b56\u7565\uff0c\u5f88\u597d\u5730\u89e3\u51b3\u4e86\u5728\u5206\u5e03\u5f0f\u73af\u5883\u4e0b\u9ad8\u5e76\u53d1\u60c5\u51b5\u4e3b\u952e\u552f\u4e00\u6027\u95ee\u9898\uff0c\u975e\u5e38\u503c\u5f97\u6211\u4eec\u5b66\u4e60\u548c\u501f\u9274\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=5219\">\u4ece\u6839\u4e0a\u7406\u89e3MongoDB\u7684ObjectId\u751f\u6210\u539f\u7406\uff01<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u60f3\u5199\u8fd9\u7bc7\u6587\u7ae0\u597d\u4e45\u4e86\uff0c\u4e00\u76f4\u62bd\u4e0d\u51fa\u65f6\u95f4\u3002\u8fd9\u4e24\u5929\u7aef\u5348\u8282\u653e\u5047\uff0c\u6211\u548c\u5a03\u90fd\u6ce1\u5728\u56fe\u4e66\u9986\uff0c\u5728\u4ed6\u770b\u4e66\u7684\u7a7a\u95f2\u671f\uff0c\u6211\u62ff\u51fa\u7535\u8111\u5199\u4e0b\u4e86\u672c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1774,1578,762,216],"class_list":["post-5219","post","type-post","status-publish","format-standard","hentry","category-java","tag-mongoclient","tag-mongodb","tag-762","tag-216"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/5219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5219"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/5219\/revisions"}],"predecessor-version":[{"id":5220,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/5219\/revisions\/5220"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}