{"id":166572,"date":"2020-09-29T18:03:17","date_gmt":"2020-09-29T10:03:17","guid":{"rendered":"http:\/\/4563.org\/?p=166572"},"modified":"2020-09-29T18:03:17","modified_gmt":"2020-09-29T10:03:17","slug":"%e8%bf%99%e4%b8%aa%e5%9b%bd%e5%ba%86%e5%87%a0%e4%b9%8e%e6%97%a0%e5%81%87%e6%9c%9f%ef%bc%8c%e5%86%99%e4%ba%86-9-%e7%af%87-jackson-%e5%92%8c-4-%e7%af%87-fastjson-%e5%9f%ba%e7%a1%80%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=166572","title":{"rendered":"\u8fd9\u4e2a\u56fd\u5e86\u51e0\u4e4e\u65e0\u5047\u671f\uff0c\u5199\u4e86 9 \u7bc7 Jackson \u548c 4 \u7bc7 Fastjson \u57fa\u7840\u6559\u7a0b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8fd9\u4e2a\u56fd\u5e86\u51e0\u4e4e\u65e0\u5047\u671f\uff0c\u5199\u4e86 9 \u7bc7 Jackson \u548c 4 \u7bc7 Fastjson \u57fa\u7840\u6559\u7a0b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : netty <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8fd9\u4e2a\u56fd\u5e86\u516b\u5929\u957f\u5047\uff0c\u6709\u4eba\u56de\u5bb6\u6709\u4eba\u53bb\u65c5\u6e38\u3002<\/p>\n<p>\u800c\u6211\uff0c\u6bcf\u5929\u4e70\u83dc\u505a\u996d\u6d17\u7897\u966a\u5c0f\u5b69\u73a9\uff0c\u5728\u9644\u8fd1\u56ed\u533a\u73a9\u4e86\u4e00\u8d9f\uff0c\u770b\u4e86\u90e8\u59dc\u5b50\u7259\u3002<\/p>\n<p>\u5269\u4e0b\u7684\u65f6\u95f4\u5c31\u662f\u5199\u6587\u7ae0\uff0c\u6bcf\u5929\u90fd\u5199\uff0c\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5199 9 \u7bc7 Fastjson \u548c 4 \u7bc7 Jackson \u6559\u7a0b\u4e5f\u4e0d\u5bb9\u6613\u3002<\/p>\n<p>\u4e0b\u9762\u628a\u6240\u6709\u6587\u7ae0\u6574\u7406\u4e00\u4e0b\u3002<\/p>\n<h2>Jackson \u6559\u7a0b<\/h2>\n<p>Jackson \u662f\u4e00\u4e2a\u57fa\u4e8e Java \u7684\u9ad8\u6027\u80fd JSON \u5904\u7406\u5668\uff0c\u5176\u6838\u5fc3\u529f\u80fd\u662f\u5b9e\u73b0\u6570\u636e\u4e0e Java \u5bf9\u8c61\u4e4b\u95f4\u7684\u5e8f\u5217\u5316 \/\u53cd\u5e8f\u5217\u5316\u3002<\/p>\n<p>Jackson \u6700\u521d\u53ea\u662f\u5b9e\u73b0 JSON \u6570\u636e\u7684\u7ed1\u5b9a\uff0c\u4f46\u662f\u53d1\u5c55\u81f3\u4eca\uff0c\u5b83\u4e5f\u652f\u6301\u5176\u4ed6\u683c\u5f0f\u7684\u6570\u636e\uff0c\u53ea\u8981\u6709\u5bf9\u5e94\u7684\u89e3\u6790\u5668\u548c\u751f\u6210\u5668\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<ol>\n<li>Jackson \u5165\u95e8\u914d\u7f6e\u53ca\u793a\u4f8b<\/li>\n<li>Jackson \u5e8f\u5217\u5316\u96c6\u5408\u548c\u6570\u7ec4<\/li>\n<li>Jackson \u4fee\u6539\u5b57\u6bb5\u540d\u548c\u81ea\u5b9a\u4e49\u547d\u540d\u7b56\u7565<\/li>\n<li>Jackson \u5ffd\u7565 null \u5b57\u6bb5\u7684 3 \u79cd\u65b9\u6cd5<\/li>\n<li>Jackson \u5ffd\u7565\u5b57\u6bb5\u4e0d\u5e8f\u5217\u5316\u5b57\u6bb5\u7684 3 \u79cd\u65b9\u6cd5<\/li>\n<li>Jackson \u4f7f\u7528 JsonFilter \u6ce8\u89e3\u8fc7\u6ee4\u5b57\u6bb5<\/li>\n<li>Jackson \u5168\u5c40\u914d\u7f6e\u548c JsonFormat \u6ce8\u89e3\u8bbe\u7f6e\u65e5\u671f\u683c\u5f0f<\/li>\n<li>Jackson \u4f7f\u7528 JsonView \u89c6\u56fe\u8fc7\u6ee4\u5b57\u6bb5\u5b9e\u73b0\u5b57\u6bb5\u5206\u7ec4<\/li>\n<li>Jackson \u5e38\u7528\u7684\u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316\u914d\u7f6e\u9879<\/li>\n<\/ol>\n<h2>Fastjson \u6559\u7a0b<\/h2>\n<p>Fastjson \u662f\u963f\u91cc\u5df4\u5df4\u7684\u5f00\u6e90 JSON \u89e3\u6790\u5e93\uff0c\u5b83\u53ef\u4ee5\u89e3\u6790 JSON \u683c\u5f0f\u7684\u5b57\u7b26\u4e32\uff0c\u652f\u6301\u5c06 Java Bean \u5e8f\u5217\u5316\u4e3a JSON \u5b57\u7b26\u4e32\uff0c\u4e5f\u53ef\u4ee5\u4ece JSON \u5b57\u7b26\u4e32\u53cd\u5e8f\u5217\u5316\u5230 JavaBean \u3002<\/p>\n<p>\u4e3b\u8981\u4f18\u70b9\u662f\u901f\u5ea6\u5feb\u3001\u4f7f\u7528\u5e7f\u6cdb\uff0c\u7f3a\u70b9\u662f\u4f17\u6240\u5468\u77e5\u7684\u70e6\u4eba\u7684\u5404\u79cd\u6f0f\u6d1e\u9700\u8981\u5347\u7ea7\u7248\u672c\u3002<\/p>\n<ol>\n<li>Fastjson \u5165\u95e8\u914d\u7f6e\u53ca\u57fa\u672c API \u4ecb\u7ecd<\/li>\n<li>Fastjson \u5e8f\u5217\u5316\u96c6\u5408\u548c\u6570\u7ec4<\/li>\n<li>Fastjson \u8fc7\u6ee4\u5b57\u6bb5\u3001\u6392\u9664\u5b57\u6bb5\u7684 5 \u79cd\u65b9\u6cd5<\/li>\n<li>Fastjson \u65e5\u671f\u5e8f\u5217\u5316\u4e0e\u9ed8\u8ba4\u53cd\u5e8f\u5217\u5316\u683c\u5f0f<\/li>\n<\/ol>\n<p>\u66f4\u591a\u6559\u7a0b\uff1a996 \u6781\u5ba2\u6559\u7a0b<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\u56fd\u5e86\u51e0\u4e4e\u65e0\u5047\u671f\uff0c\u5199\u4e86 9 \u7bc7 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/166572"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166572"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/166572\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=166572"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=166572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}