{"id":418,"date":"2021-02-25T14:24:20","date_gmt":"2021-02-25T08:24:20","guid":{"rendered":"http:\/\/www.jichangqing.net\/wordpress\/?p=418"},"modified":"2021-02-25T14:43:05","modified_gmt":"2021-02-25T08:43:05","slug":"%e7%89%a9%e8%81%94%e7%bd%91%e8%af%be%e7%a8%8b%e7%b3%bb%e5%88%97%ef%bc%9a%e5%bf%ab%e9%80%9f%e4%b8%8a%e6%89%8biot%e8%a7%86%e8%a7%89%e5%8c%96%e5%bc%80%e5%8f%91%e5%b7%a5%e5%85%b7node-red","status":"publish","type":"post","link":"http:\/\/www.jichangqing.net\/wordpress\/?p=418","title":{"rendered":"\u7269\u8054\u7f51\u8bfe\u7a0b\u7cfb\u5217\uff1a\u5feb\u901f\u4e0a\u624bIOT\u89c6\u89c9\u5316\u5f00\u53d1\u5de5\u5177Node-RED"},"content":{"rendered":"<p>\u73b0\u5728\u6709\u8d8a\u6765\u8d8a\u591a\u975e\u4e13\u4e1a\u80cc\u666f\u4f46\u6709\u521b\u9020\u70ed\u8bda\u7684Maker\uff0c\u60f3\u8981\u8fdb\u5165\u7269\u8054\u7f51\u9886\u57df\u5927\u5c55\u8eab\u624b\uff0c\u4f46\u5e38\u5e38\u82e6\u4e8e\u65e0\u6cd5\u64b0\u5199\u8270\u6df1\u96be\u61c2\u7684\u7a0b\u5e8f\u4ee3\u7801\uff0c\u4ee5\u53ca\u60f3\u8981\u8fde\u63a5\u5404\u79cd\u786c\u4ef6\u4e0e\u65f6\u4e0b\u6700\u6d41\u884c\u7684\u793e\u7fa4\u8f6f\u4ef6\uff0c\u5374\u4e0d\u77e5\u9053\u5982\u4f55\u4f7f\u7528\u5f00\u653e\u7ed9\u5f00\u53d1\u8005\u5e94\u7528\u7684API\u7684\u7a98\u5883\u3002<\/p>\n<p>\u6ca1\u5173\u7cfb\uff01IBM\u53d1\u884c\u4e86\u4e00\u5957\u5f00\u6e90\u53ef\u89c6\u5316\u754c\u9762\u5f00\u53d1\u5de5\u5177\uff0d\u00a0Node-RED\uff0c\u55ef\uff1f\u662f\u4e0d\u662f\u6709\u70b9\u773c\u719f\uff1f\u600e\u4e48\u8ddf\u8457\u540d\u7684\u7a0b\u5e8f\u8bed\u8a00Node.js\u6709\u4e9b\u76f8\u4f3c\uff1f\u4e0d\u7528\u62c5\u5fc3\uff0c\u5373\u4f7f\u5b8c\u5168\u4e0d\u61c2\u600e\u4e48\u64b0\u5199Node.js\uff0c\u4e5f\u80fd\u5b66\u4f1a\u4f7f\u7528Node-RED\u3002\u63a5\u4e0b\u6765\u5c31\u8ba9\u6211\u4eec\u4e00\u8d77\u770b\u770b\u5982\u4f55\u8fd0\u7528Node-RED\u5427\uff01<\/p>\n<p>\u5927\u5bb6\u53ef\u80fd\u4f1a\u597d\u5947\uff0cNode-RED\u8ddfNode.js\u600e\u4e48\u540d\u5b57\u4f1a\u8fd9\u4e48\u50cf\uff1f\u662f\u4e0d\u662f\u6709\u67d0\u79cd\u5173\u8054\u5b58\u5728\uff1f\u8fd9\u8fb9\u5c31\u8981\u5148\u4eceNode.js\u5f00\u59cb\u4ecb\u7ecd\u4e86\u3002Node.js\u662f\u4e00\u4e2a\u8bfb\u53d6Javascript\u7684\u8fd0\u884c\u73af\u5883\uff0c\u53ef\u7528\u4e8e\u5f00\u53d1\u7f51\u9875\u540e\u7aef\u7a0b\u5e8f\uff0c\u4f46\u662fNode.js\u7684\u6307\u4ee4\u662f\u4e00\u884c\u4e00\u884c\u5199\u51fa\u6765\u7684\uff0c\u4e3a\u4e86\u514d\u53bb\u547c\u53eb\u7a0b\u5e8f\u4ee3\u7801\u9ebb\u70e6\uff0cIBM\u7684\u5de5\u7a0b\u5e08\u5f00\u53d1\u4e86Node-RED\u6765\u66f4\u5bb9\u6613\u5730\u5b8c\u6210\u5de5\u4f5c\u3002<\/p>\n<p>\u5177\u4f53\u6765\u8bf4\uff0c\u6bcf\u5f53\u542f\u52a8Node-RED\u65f6\uff0c\u80cc\u666f\u7a0b\u5e8f\u4fbf\u4f1a\u521b\u9020\u4e00\u4e2a\u670d\u52a1\u5668\u6765\u5904\u7406\u6211\u4eec\u8f93\u5165\u7684\u6307\u4ee4\uff0c\u8fd9\u65f6\u53ea\u8981\u4f7f\u7528\u6d4f\u89c8\u5668\u767b\u5165\u6307\u5b9a\u7684IP\u5373\u53ef\u8fdb\u5165Node-RED\u7684\u7f16\u8f91\u753b\u9762\uff0c\u8bbe\u5b9a\u597d\u60f3\u8981\u7684\u6d41\u7a0b\u540e\uff0c\u80cc\u666f\u7a0b\u5e8f\u4f1a\u5c06\u6d41\u7a0b\u8f6c\u6362\u6210\u7a0b\u5e8f\u4ee3\u7801\u4ea4\u7ed9Node.js\u73af\u5883\u8fd0\u884c\u3002<\/p>\n<p>\u5176\u5b9e\u5728Maker\u5708\uff0c\u53ef\u89c6\u5316\u754c\u9762\u5f00\u53d1\u5de5\u5177\u5df2\u7ecf\u76f8\u5f53\u6d41\u884c\uff0c\u7279\u522b\u662fMIT\u5f00\u53d1\u7684Scratch\uff0c\u4ee5\u53caGoogle\u5f00\u53d1\u7684Blockly\u3002\u90a3\u4e48\uff0cNode-RED\u8ddf\u8fd9\u4e24\u5927\u89c6\u89c9\u5f00\u53d1\u5de5\u5177\u76f8\u6bd4\uff0c\u53c8\u6709\u4ec0\u4e48\u6837\u7684\u4f18\u52bf\u5462\uff1f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145620444-778569795.jpg\" alt=\"\" \/><\/p>\n<p>ode-RED\u7279\u8272<\/p>\n<p>Node-RED\u8d77\u6e90\u4e8e2013\u5e74IBM\u2019s EmergingTechnology Services group\u7684\u4e00\u4e2a\u8ba1\u5212\u7684\u526f\u4ea7\u7269\uff0c\u5de5\u7a0b\u5e08Nick O\u2019Leary\u548cDave Conway-Jones\u60f3\u7528\u53ef\u89c6\u5316\u754c\u9762\u6765\u6982\u5ff5\u6027\u9a8c\u8bc1\u4e00\u5957MQTT\u5e94\u7528\uff0c\u8ba9Node-RED\u56e0\u6b64\u5b55\u80b2\u800c\u751f\u3002<\/p>\n<p>Node-RED\u5f88\u5feb\u6210\u4e3a\u66f4\u52a0\u5168\u9762\u6027\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u5e76\u4e8e2013\u5e749\u6708\u6210\u4e3aOpenSource\uff0c\u4e8e2016\u5e7410\u6708\u52a0\u5165JS Foundation\u3002(\u4ee5\u4e0a\u8bf4\u660e\u8282\u5f55\u81eaNode-RED\u5b98\u7f51)<\/p>\n<p>Node-RED\u63d0\u4f9b\u5404\u5f0f\u7684API\uff0c\u5305\u62ec\u56e0\u7279\u7f51\u670d\u52a1\uff0c\u4f8b\u5982\u63a8\u7279\u4e0e\u67e5\u8be2\u5929\u6c14\u3001\u547c\u53eb\u4f7f\u7528\u5404\u5f0f\u7684\u901a\u8baf\u534f\u8bae\uff0c\u4f8b\u5982MQTT\u3001TCP\u3001UDP\u7b49\uff1b\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e0a\uff0cNode-RED\u63d0\u4f9b\u63a7\u5236GPIO\u7684\u529f\u80fd\uff0c\u5e76\u4f7f\u7528MQTT\u6216\u662fHTTP\u7b49\u534f\u8bae\u4e0e\u4e91\u7aef\u505a\u6c9f\u901a\uff0c\u67b6\u6784IOT\u4ea7\u54c1\u3002<\/p>\n<p>\u8ba9Node-RED\u6d41\u884c\u4e8e\u5404\u5927\u7f51\u7edc\u793e\u7fa4\u7684\u7406\u7531\uff0c\u5728\u4e8e\u5b83\u62e5\u6709\u4ee5\u4e0b\u8bf8\u591a\u7684\u4f18\u70b9\uff1a<\/p>\n<p>1.\u76f8\u8f83\u4e8e\u64b0\u5199\u7a0b\u5e8f\u4ee3\u7801\uff0c\u4f7f\u7528\u56fe\u5f62\u5316\u754c\u9762\u53ef\u66f4\u5feb\u901f\u5f00\u53d1\u3002<\/p>\n<p>2.\u9002\u5408\u4f5c\u4e3a\u6982\u5ff5\u6027\u5e94\u7528\u9a8c\u8bc1\u7684\u5f00\u53d1\u5de5\u5177\u3002<\/p>\n<p>3.\u6d45\u663e\u6613\u61c2\uff0c\u6bcf\u4e2aAPI\u90fd\u6709\u6587\u5b57\u8bf4\u660e\u53ef\u4f9b\u67e5\u8be2\u3002<\/p>\n<p>4.\u5177\u6709\u9ad8\u5ea6\u6269\u5145\u6027\uff0c\u5df2\u6709\u5927\u91cf\u7684Library\u3001Flow\u3001Node\u4f9b\u4eba\u4e0b\u8f7d\u3002<\/p>\n<p>\u5982\u4f55\u542f\u7528Node-RED<\/p>\n<p>\u60f3\u5728Raspberry Pi\u4e0a\u4f7f\u7528Node-RED\uff0c\u9700\u5148\u5b89\u88c5Node.js\u8fd0\u884c\u73af\u5883\uff0c\u5982\u679c\u662f\u4f7f\u7528FRED\uff0c\u6216\u662fIBM Bluemix\u4f7f\u7528Node-RED\uff0c\u5219\u4e0d\u987b\u5b89\u88c5\u3002<\/p>\n<ol class=\"list-paddingleft-2\">\n<li>\n<p style=\"color: #000000;\">\u5b89\u88c5Node-RED\uff1a\u5728Raspberry pi\u7684Bash\u8f93\u5165\u300csudo npm install -g node-red\u300d<\/p>\n<\/li>\n<\/ol>\n<p style=\"color: #000000;\"><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145702262-450385019.png\" alt=\"\" \/><\/p>\n<p>2.\u00a0\u542f\u52a8Node-RED\uff1a<\/p>\n<p>(1)\u00a0\u5728Bash\u8f93\u5165\u300cnode-red\u300d<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145733384-211863274.png\" alt=\"\" \/><\/p>\n<p>(2)\u00a0\u5728\u8ba1\u7b97\u673a\u4e0a\u4f7f\u7528\u8fdc\u7a0b\u684c\u9762\u8054\u673a\uff08Pi\u987b\u5b89\u88c5xrdp\uff09\uff0c\u6253\u5f00Linux\u7684\u6d4f\u89c8\u5668\u8fdb\u5165http:\/\/localhost:1880\uff0c\u5373\u53ef\u8fdb\u5165Node-RED\u7f16\u8f91\u9875\u9762\uff0c\u8fd9\u91cc\u8ddfBash\u767b\u5165\u753b\u9762\u4e00\u6837\uff0c\u8f93\u5165Pi\u7684\u5e10\u53f7\u5bc6\u7801<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145756867-1952538986.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145814150-869666457.png\" alt=\"\" \/><\/p>\n<p>\u8fdb\u5165\u7f16\u8f91\u9875\u9762\u4e86<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145851981-1113102303.png\" alt=\"\" \/><\/p>\n<p>\u5b9e\u4f5c\u8303\u4f8b<\/p>\n<ol class=\"list-paddingleft-2\">\n<li>\n<p style=\"color: #000000;\">Hello Node-RED<\/p>\n<\/li>\n<\/ol>\n<blockquote class=\"wp-embedded-content\" data-secret=\"0B6QEuyVVS\"><p><a href=\"https:\/\/noderedguide.com\/node-red-lecture-2-building-your-first-flows-15\/\">Node-RED: Lecture 2 &#8211; Building your first flow<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Node-RED: Lecture 2 &#8211; Building your first flow&#8221; &#8212; Node RED Programming Guide\" src=\"https:\/\/noderedguide.com\/node-red-lecture-2-building-your-first-flows-15\/embed\/#?secret=4oU8Qm5rXe#?secret=0B6QEuyVVS\" data-secret=\"0B6QEuyVVS\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u8ba9\u6211\u4eec\u6765\u5b66\u4e60\u5982\u4f55\u4f7f\u7528Node-RED\u7684\u57fa\u672c\u5355\u4f4d\uff1aNode\uff0c\u5e76\u4f7f\u7528Nodes\u6765\u4f20\u9001\u5b57\u7b26\u4e32\u300cHello Node-Red\uff01\u300d\u6765\u8ddfNode-RED\u6253\u58f0\u62db\u547c\u5427\uff01<\/p>\n<p>\u2022\u4f7f\u7528\u5de6\u4fa7\u7684inject\u4e0edebug\u63a5\u6210\u4ee5\u4e0b\u7684\u6d41\u7a0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145919041-1152863201.png\" alt=\"\" \/><\/p>\n<p>\u2022Inject node\uff1a\u6211\u4eec\u4f7f\u7528\u8fd9\u4e2aNode\u6765\u8f93\u5165\u5404\u5f0f\u7684\u6570\u503c\uff0c\u4e3e\u51e1\u53d8\u91cf\u3001\u6570\u5b57\u3001\u5b57\u7b26\u4e32\u3001\u65f6\u95f4\u5e38\u6570\u90fd\u53ef\u4ee5\uff0cInject\u901a\u5e38\u90fd\u662f\u4e00\u4e2aFlow\u7684\u5f00\u5934\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024145943126-214219134.png\" alt=\"\" \/><\/p>\n<p>\u2022Debug node\uff1a\u8fd9\u4e2aNode\u5c31\u50cf\u662f\u793a\u6ce2\u5668\u7684\u63a2\u68d2\uff0c\u4f1a\u5c06\u6d41\u5165\u6b64\u70b9\u7684\u5bf9\u8c61\u4fe1\u606f\u4e8e\u53f3\u8fb9\u7684Debug\u5b57\u6bb5\u663e\u793a\u51fa\u6765\uff0c\u6211\u4eec\u4f7f\u7528\u8fd9\u4e2aNode\u68c0\u89c6\u7ed3\u679c\u662f\u5426\u7b26\u5408\u9884\u671f\u7684\u7ed3\u679c\u3002<\/p>\n<p>\u2022\u5b9e\u4f5c\u7ed3\u679c\uff1a\u5de6\u4fa7node\u6309\u4e0b\u84dd\u8272\u7684\u6309\u94ae\u540e\uff0c\u53f3\u4fa7\u7684debug\u680f\u63a5\u6536\u5230input\u7684\u8baf\u606f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150009625-628226842.png\" alt=\"\" \/><\/p>\n<p>2. LED\u706f\u5f00\u5173<\/p>\n<p>Node-RED\u6709\u4e2a\u5f88\u5927\u7684\u7279\u8272\uff0c\u5c31\u662f\u53ef\u4ee5\u65b9\u4fbf\u5730\u63a7\u5236RaspberryPi\uff0c\u5728\u8fd9\u4e4b\u524d\uff0c\u547c\u53ebGPIO\u90fd\u662f\u4f7f\u7528Python\u3001C\u8bed\u8a00\u3001Java\u7b49\u7b49\uff1b\u800c\u73b0\u5728\u53ea\u8981\u8bbe\u5b9aNode-RED\u5c31\u53ef\u4ee5\u8fbe\u5230\u76f8\u540c\u7684\u6548\u679c\uff0c\u5728\u8fd9\u4e2a\u6d41\u7a0b\u8f93\u5165\u5f00\u6216\u5173\u7684\u8baf\u606f\uff0c\u5224\u65ad\u5f0f\u5904\u7406\u5b8c\u540e\uff0c\u4f1a\u5c061\u62160\u4f20\u5165Rpi Pin node\u3002<\/p>\n<p>(RPi node\u9884\u8bbe\u53ea\u6709RPi\u7684Node-RED\u624d\u6709)<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150053358-1548913821.png\" alt=\"\" \/><\/p>\n<p>\u2022Inject Node\uff1a\u6211\u4eec\u8fd9\u8fb9\u8bbe\u5b9a\u5c06\u201dOn\uff02\u5b57\u7b26\u4e32\u8f93\u5165\u7ed9Switch function\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150118825-1710401456.png\" alt=\"\" \/><\/p>\n<p>Function Node\uff1a\u6211\u4eec\u4f7f\u7528\u8fd9\u4e2aNode\u4f5c\u4e3a\u64b0\u5199\u81ea\u5b9a\u4e49\u51fd\u5f0f\u7684\u5730\u65b9\uff0c\u4f7f\u7528\u7684\u8bed\u6cd5\u4e3aJavascript\uff0c\u8fd9\u2022\u8fb9\u5148\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u5224\u65ad\u51fd\u5f0f\u786e\u8ba4\u662fON\u6216\u662fOFF\uff0c\u6700\u540e\u5c06msg\u5bf9\u8c61\u5f80\u4e0b\u4f20\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150139442-1718911331.png\" alt=\"\" \/><\/p>\n<p>\u2022RPi Pin node\uff1a\u6211\u4eec\u4f7f\u7528\u8fd9\u4e2aNode\u6765\u8bbe\u5b9aRPi\u7684\u811a\u4f4d\u8f93\u51fa\uff0c\u53ef\u5206\u4e3a\u6570\u5b57\u8f93\u51fa\u4e0ePWM\uff1b\u672c\u6b21\u505a\u6570\u5b57\u8f93\u51fa\uff0c\u9009\u62e9GPIO17\u811a\u4f4d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150224567-1505752352.png\" alt=\"\" \/><\/p>\n<p>\u2022Raspberry Pi3\u811a\u4f4d\u56fe\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150250555-1432081882.png\" alt=\"\" \/><\/p>\n<p>\u2022\u5b9e\u4f5c\u7ed3\u679c\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img2018.cnblogs.com\/blog\/1499136\/201810\/1499136-20181024150309164-1516667005.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u80fd\u9047\u5230\u7684\u9519\u8bef<\/p>\n<p>1.\u65e0\u6cd5\u4f7f\u7528npm\u6307\u4ee4\uff1f<\/p>\n<p>Raspberry Pi\u5c1a\u672a\u5b89\u88c5Node.js\uff0c\u9700\u5148\u5b89\u88c5Node.js\u624d\u80fd\u4f7f\u7528npm\u3002<\/p>\n<p>2.\u8fdb\u51650.01:1880\u65e0\u6cd5\u663e\u793a\u7f51\u9875\uff1f<\/p>\n<p>\u9700\u5148\u5728Raspberry Pi\u7684terminal\u8f93\u5165node-red\uff0c\u542f\u52a8\u670d\u52a1\u5668\u624d\u80fd\u767b\u5165\u9875\u9762\u3002<\/p>\n<p>3.Function Node\u65e0\u6cd5\u8f93\u5165\u7a0b\u5e8f\u4ee3\u7801\uff1f<\/p>\n<p>GNU\/Linux\u5185\u5efa\u6d4f\u89c8\u5668\u7684Bug\uff0c\u5efa\u8bae\u4f7f\u7528FireFox\u7684\u6d4f\u89c8\u5668\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>from:https:\/\/www.cnblogs.com\/Astar-STEAM\/p\/9843593.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73b0\u5728\u6709\u8d8a\u6765\u8d8a\u591a\u975e\u4e13\u4e1a\u80cc\u666f\u4f46\u6709\u521b\u9020\u70ed\u8bda\u7684Maker\uff0c\u60f3\u8981\u8fdb\u5165\u7269\u8054\u7f51\u9886\u57df\u5927\u5c55\u8eab\u624b\uff0c\u4f46\u5e38\u5e38\u82e6\u4e8e\u65e0\u6cd5\u64b0\u5199\u8270\u6df1\u96be\u61c2\u7684\u7a0b\u5e8f\u4ee3\u7801\uff0c\u4ee5\u53ca\u60f3\u8981\u8fde\u63a5\u5404\u79cd\u786c\u4ef6\u4e0e\u65f6\u4e0b\u6700\u6d41\u884c\u7684\u793e\u7fa4\u8f6f\u4ef6\uff0c\u5374\u4e0d\u77e5\u9053\u5982\u4f55\u4f7f\u7528\u5f00\u653e\u7ed9\u5f00\u53d1\u8005\u5e94\u7528\u7684API\u7684\u7a98\u5883\u3002 \u6ca1\u5173\u7cfb\uff01IBM\u53d1\u884c\u4e86\u4e00\u5957\u5f00\u6e90\u53ef &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-21"],"_links":{"self":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=418"}],"version-history":[{"count":2,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":420,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/418\/revisions\/420"}],"wp:attachment":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}