{"id":41310,"date":"2023-09-30T10:53:53","date_gmt":"2023-09-30T02:53:53","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41310"},"modified":"2023-09-30T10:55:54","modified_gmt":"2023-09-30T02:55:54","slug":"zcbjkdsjzhff","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41310.html","title":{"rendered":"2\u79cd\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5"},"content":{"rendered":"

  \u968f\u7740\u79d1\u6280\u7684\u53d1\u5c55\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4f01\u4e1a\u90fd\u4f7f\u7528\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u6765\u5904\u7406\u6570\u636e\u3002\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f01\u4e1a\u66f4\u6709\u6548\u5730\u5904\u7406\u6570\u636e\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u51cf\u5c11\u6210\u672c\u3002\u672c\u6587\u5c06\u4ecb\u7ecd2\u79cd\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u4e86\u89e3\u8fd9\u79cd\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u3002<\/p>\n

1. \u57fa\u4e8eXML\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5<\/h2>\n

  \u57fa\u4e8eXML\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u662f\u4e00\u79cd\u57fa\u4e8eXML\uff08Extensible Markup Language\uff09\u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u7528\u4e8e\u5c06\u6570\u636e\u4ece\u4e00\u79cd\u683c\u5f0f\u8f6c\u6362\u5230\u53e6\u4e00\u79cd\u683c\u5f0f\u3002XML\u662f\u4e00\u79cd\u63cf\u8ff0\u6027\u7684\u3001\u53ef\u6269\u5c55\u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5b9a\u4e49\u6570\u636e\u7684\u7ed3\u6784\uff0c\u4ee5\u53ca\u6570\u636e\u4e4b\u95f4\u7684\u5173\u7cfb\u3002\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u79cd\u683c\u5f0f\u8f6c\u6362\u5230\u53e6\u4e00\u79cd\u683c\u5f0f\uff0c\u4ece\u800c\u66f4\u5bb9\u6613\u5730\u5904\u7406\u6570\u636e\u3002<\/p>\n

  \u4f18\u70b9<\/h3>\n

  1. XML\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6570\u636e\u4ece\u4e00\u79cd\u683c\u5f0f\u8f6c\u6362\u5230\u53e6\u4e00\u79cd\u683c\u5f0f\uff0c\u4f7f\u5904\u7406\u6570\u636e\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n

  2. XML\u53ef\u4ee5\u8ba9\u6570\u636e\u5728\u4e0d\u540c\u7684\u7cfb\u7edf\u4e4b\u95f4\u5171\u4eab\uff0c\u4ece\u800c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n

  3. XML\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u7684\u53ef\u8bfb\u6027\uff0c\u4ece\u800c\u66f4\u5bb9\u6613\u7406\u89e3\u6570\u636e\u3002<\/p>\n

  \u7f3a\u70b9<\/h3>\n

  1. XML\u6587\u4ef6\u4f53\u79ef\u8f83\u5927\uff0c\u56e0\u6b64\u4f20\u8f93\u6570\u636e\u65f6\u9700\u8981\u66f4\u591a\u7684\u65f6\u95f4\u3002<\/p>\n

  2. XML\u6587\u4ef6\u9700\u8981\u4e25\u683c\u7684\u683c\u5f0f\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u51c6\u786e\u6027\u3002<\/p>\n

  3. XML\u6587\u4ef6\u7684\u9a8c\u8bc1\u548c\u89e3\u6790\u6bd4\u8f83\u9ebb\u70e6\uff0c\u9700\u8981\u82b1\u8d39\u66f4\u591a\u7684\u65f6\u95f4\u3002<\/p>\n

2. \u57fa\u4e8eJSON\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5<\/h2>\n

  \u57fa\u4e8eJSON\uff08JavaScript Object Notation\uff09\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u662f\u4e00\u79cd\u57fa\u4e8eJSON\u7684\u6807\u8bb0\u8bed\u8a00\uff0c\u7528\u4e8e\u5c06\u6570\u636e\u4ece\u4e00\u79cd\u683c\u5f0f\u8f6c\u6362\u5230\u53e6\u4e00\u79cd\u683c\u5f0f\u3002JSON\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6570\u636e\u4ea4\u6362\u683c\u5f0f\uff0c\u5b83\u4f7f\u7528\u7b80\u5355\u7684\u6587\u672c\u683c\u5f0f\u6765\u8868\u793a\u6570\u636e\uff0c\u4ece\u800c\u4f7f\u6570\u636e\u66f4\u5bb9\u6613\u8bfb\u53d6\u548c\u5199\u5165\u3002<\/p>\n

  \u4f18\u70b9<\/h3>\n

  1. JSON\u6587\u4ef6\u4f53\u79ef\u5c0f\uff0c\u56e0\u6b64\u4f20\u8f93\u6570\u636e\u65f6\u9700\u8981\u66f4\u5c11\u7684\u65f6\u95f4\u3002<\/p>\n

  2. JSON\u6587\u4ef6\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6570\u636e\u4ece\u4e00\u79cd\u683c\u5f0f\u8f6c\u6362\u5230\u53e6\u4e00\u79cd\u683c\u5f0f\uff0c\u4f7f\u5904\u7406\u6570\u636e\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n

  3. JSON\u6587\u4ef6\u53ef\u4ee5\u8ba9\u6570\u636e\u5728\u4e0d\u540c\u7684\u7cfb\u7edf\u4e4b\u95f4\u5171\u4eab\uff0c\u4ece\u800c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n

  \u7f3a\u70b9<\/h3>\n

  1. JSON\u6587\u4ef6\u7684\u9a8c\u8bc1\u548c\u89e3\u6790\u6bd4\u8f83\u9ebb\u70e6\uff0c\u9700\u8981\u82b1\u8d39\u66f4\u591a\u7684\u65f6\u95f4\u3002<\/p>\n

  2. JSON\u6587\u4ef6\u9700\u8981\u4e25\u683c\u7684\u683c\u5f0f\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u51c6\u786e\u6027\u3002<\/p>\n

  3. JSON\u6587\u4ef6\u7684\u53ef\u8bfb\u6027\u8f83\u5dee\uff0c\u56e0\u6b64\u66f4\u96be\u7406\u89e3\u6570\u636e\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u4ee5\u4e0a\u5c31\u662f2\u79cd\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u7684\u4ecb\u7ecd\uff0c\u5b83\u4eec\u90fd\u6709\u81ea\u5df1\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\uff0c\u4f01\u4e1a\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u8981\u6765\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u3002<\/strong>\u672c\u6587\u4ecb\u7ecd\u76842\u79cd\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f01\u4e1a\u66f4\u6709\u6548\u5730\u5904\u7406\u6570\u636e\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u51cf\u5c11\u6210\u672c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u968f\u7740\u79d1\u6280\u7684\u53d1\u5c55\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4f01\u4e1a\u90fd\u4f7f\u7528\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u6765\u5904\u7406\u6570\u636e\u3002\u4e32\u5e76\u63a5\u53e3\u7684\u6570\u636e\u8f6c\u6362\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f01\u4e1a\u66f4\u6709\u6548\u5730\u5904\u7406\u6570\u636e\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\uff0c\u51cf\u5c11\u6210\u672c\u3002\u672c\u6587\u5c06\u4ecb\u7ecd2\u79cd\u4e32\u5e76\u63a5\u53e3\u7684<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-41310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=41310"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41310\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=41310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}